All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.Util.Set
java.lang.Object
|
+----harpoon.Util.Set
- public class Set
- extends Object
- implements Worklist
Set
- Version:
- $Id: Set.java,v 1.3 1998/10/11 02:37:59 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
Set()
- Creates a
SetTable
.
-
contains(Object)
-
-
copyInto(Object[])
-
-
elements()
-
-
isEmpty()
-
-
pull()
-
-
push(Object)
-
-
remove(Object)
-
-
size()
-
-
toString()
- Returns a rather long string representation of this hashtable.
-
union(Object)
-
Set
public Set()
- Creates a
SetTable
.
remove
public void remove(Object o)
union
public void union(Object o)
push
public Object push(Object o)
contains
public boolean contains(Object o)
isEmpty
public boolean isEmpty()
size
public int size()
pull
public Object pull()
copyInto
public void copyInto(Object oa[])
elements
public Enumeration elements()
toString
public String toString()
- Returns a rather long string representation of this hashtable.
- Returns:
- a string representation of this hashtable.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index