java.util
Class HashSet

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractSet
          extended by java.util.HashSet
All Implemented Interfaces:
Serializable, Cloneable, Collection, Set
Direct Known Subclasses:
LinkedHashSet

public class HashSet
extends AbstractSet
implements Serializable, Cloneable, Set

See Also:
Serialized Form

Constructor Summary
HashSet()
           
HashSet(Collection var0)
           
HashSet(int var0)
           
HashSet(int var0, float var1)
           
 
Method Summary
 Object clone()
           
 Iterator iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

HashSet

public HashSet()

HashSet

public HashSet(int var0)

HashSet

public HashSet(int var0,
               float var1)

HashSet

public HashSet(Collection var0)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

iterator

public Iterator iterator()
Specified by:
iterator in interface Collection

size

public int size()
Specified by:
size in interface Collection