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>

Constructor Index

 o Set()
Creates a SetTable.

Method Index

 o contains(Object)
 o copyInto(Object[])
 o elements()
 o isEmpty()
 o pull()
 o push(Object)
 o remove(Object)
 o size()
 o toString()
Returns a rather long string representation of this hashtable.
 o union(Object)

Constructors

 o Set
 public Set()
Creates a SetTable.

Methods

 o remove
 public void remove(Object o)
 o union
 public void union(Object o)
 o push
 public Object push(Object o)
 o contains
 public boolean contains(Object o)
 o isEmpty
 public boolean isEmpty()
 o size
 public int size()
 o pull
 public Object pull()
 o copyInto
 public void copyInto(Object oa[])
 o elements
 public Enumeration elements()
 o 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