Package java.util
Class HashSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Collection
,Set
- Direct Known Subclasses:
LinkedHashSet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHashSet()
HashSet
(int var0) HashSet
(int var0, float var1) HashSet
(Collection var0) -
Method Summary
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
-
Constructor Details
-
HashSet
public HashSet() -
HashSet
public HashSet(int var0) -
HashSet
public HashSet(int var0, float var1) -
HashSet
-
-
Method Details
-
clone
-
iterator
- Specified by:
iterator
in interfaceCollection
-
size
public int size()- Specified by:
size
in interfaceCollection
-