java.util
Class AbstractSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
All Implemented Interfaces:
Collection, Set
Direct Known Subclasses:
HashSet, TreeSet

public abstract synchronized class AbstractSet
extends AbstractCollection
implements Set


Constructor Summary
protected AbstractSet()
           
 
Method Summary
 boolean equals(Object)
           
 int hashCode()
           
 boolean removeAll(Collection)
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size, toArray, toArray
 

Constructor Detail

AbstractSet

protected AbstractSet()
Method Detail

equals

public boolean equals(Object)
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

removeAll

public boolean removeAll(Collection)
Specified by:
removeAll in interface Set
Overrides:
removeAll in class AbstractCollection