Public Methods | |
HashSet () | |
HashSet (Object[] elements) | |
HashSet (int cap) | |
HashSet (int cap, float load) | |
boolean | add (Object obj) |
void | clear () |
boolean | contains (Object obj) |
boolean | isEmpty () |
Iterator | iterator () |
boolean | remove (Object obj) |
int | size () |
Private Attributes | |
HashMap | table |
@author: Raja Vallee-Rai
Definition at line 79 of file HashSet.java.
|
Create a set which contains the given elements. Definition at line 91 of file HashSet.java. |