java.util
Class Collections.SynchronizedSet

java.lang.Object
  |
  +--java.util.Collections.SynchronizedCollection
        |
        +--java.util.Collections.SynchronizedSet
Direct Known Subclasses:
Collections.SynchronizedSortedSet

static class Collections.SynchronizedSet
extends Collections.SynchronizedCollection
implements Set

See Also:
Serialized Form

Fields inherited from class java.util.Collections.SynchronizedCollection
c, mutex
 
Constructor Summary
(package private) Collections.SynchronizedSet(Set s)
           
(package private) Collections.SynchronizedSet(Set s, Object mutex)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.util.Collections.SynchronizedCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Collections.SynchronizedSet

Collections.SynchronizedSet(Set s)

Collections.SynchronizedSet

Collections.SynchronizedSet(Set s,
                            Object mutex)
Method Detail

equals

public boolean equals(Object o)
Specified by:
equals in interface Set
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Set
Overrides:
hashCode in class Object