All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----graphomat.util.HashSet
Summary |
public class HashSet extends java.lang.Object implements java.io.Serializable { // Constructors 2 public HashSet(); public HashSet(int); // Methods 6 public void add(Object); public boolean contains(Object); public void delete(Object); public int getCount(); public Enumeration getEnum(); public String toString(); }
Stores a set of random Objects. Is able to give a
Enumeration
of all stored Objects.
Constructors |
· HashSet | Summary | Top |
public HashSet()
· HashSet | Summary | Top |
public HashSet(int x)
Methods |
· add | Summary | Top |
public void add(Object o)
Adds a new Object to the Set.
· delete | Summary | Top |
public void delete(Object o)
Delets an Object of the Set.
· contains | Summary | Top |
public boolean contains(Object o)
Checks wether the Object is in the Set.
· getEnum | Summary | Top |
public Enumeration getEnum()
Returns an
Enumeration
of all objects.
· getCount | Summary | Top |
public int getCount()
Returns the number of Objects in the Set.
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7