com.aelitis.azureus.core.util
Class CopyOnWriteSet<T>

java.lang.Object
  extended by com.aelitis.azureus.core.util.CopyOnWriteSet<T>

public class CopyOnWriteSet<T>
extends Object


Constructor Summary
CopyOnWriteSet(boolean identity_hash_set)
           
 
Method Summary
 void add(T o)
           
 boolean contains(T o)
           
 Set<T> getSet()
           
 Iterator<T> iterator()
           
 boolean remove(T o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyOnWriteSet

public CopyOnWriteSet(boolean identity_hash_set)
Method Detail

add

public void add(T o)

remove

public boolean remove(T o)

contains

public boolean contains(T o)

size

public int size()

getSet

public Set<T> getSet()

iterator

public Iterator<T> iterator()