java.util
public class HashSet<E> extends AbstractSet<E> implements Set<E>, Cloneable, Serializable
Constructor Summary | |
---|---|
HashSet() | |
<T extends E> | HashSet(Collection<T> c) |
HashSet(int initialCapacity, float loadFactor) | |
HashSet(int initialCapacity) |
Method Summary | |
---|---|
boolean | add(E o) |
void | clear() |
Object | clone() |
boolean | contains(Object o) |
boolean | isEmpty() |
Iterator<E> | iterator() |
boolean | remove(Object o) |
int | size() |