wt.fc.collections
Class SynchronizedCollections.SynchronizedSet
java.lang.Object
java.util.AbstractCollection
wt.fc.collections.SynchronizedCollections.SynchronizedCollection
wt.fc.collections.SynchronizedCollections.SynchronizedSet
- All Implemented Interfaces:
- Collection, Serializable, Set
- Enclosing class:
- SynchronizedCollections
- static class SynchronizedCollections.SynchronizedSet
- extends SynchronizedCollections.SynchronizedCollection
- implements Set
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
c
Collection c
lock
Object lock
SynchronizedCollections.SynchronizedSet
SynchronizedCollections.SynchronizedSet(Set set)
SynchronizedCollections.SynchronizedSet
SynchronizedCollections.SynchronizedSet(Set set,
Object lock)
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Set
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Set
add
public boolean add(Object o)
- Specified by:
add
in interface Collection
addAll
public boolean addAll(Collection other)
- Specified by:
addAll
in interface Collection
clear
public void clear()
- Specified by:
clear
in interface Collection
containsAll
public boolean containsAll(Collection other)
- Specified by:
containsAll
in interface Collection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Collection
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection
removeAll
public boolean removeAll(Collection other)
- Specified by:
removeAll
in interface Collection
retainAll
public boolean retainAll(Collection other)
- Specified by:
retainAll
in interface Collection
size
public int size()
- Specified by:
size
in interface Collection
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArray
in interface Collection
toString
public String toString()