All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface harpoon.Util.Worklist

public interface Worklist
A Worklist is a unique set.

Version:
$Id: Worklist.java,v 1.2 1998/10/11 02:37:59 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Index

 o contains(Object)
Determines if the Worklist contains an item.
 o isEmpty()
Determines if there are any more items left in the Worklist.
 o pull()
Removes an item from the Worklist and return it.
 o push(Object)
Pushes an item onto the Worklist if it is not already there.

Methods

 o push
 public abstract Object push(Object item)
Pushes an item onto the Worklist if it is not already there.

 o pull
 public abstract Object pull()
Removes an item from the Worklist and return it.

 o contains
 public abstract boolean contains(Object item)
Determines if the Worklist contains an item.

 o isEmpty
 public abstract boolean isEmpty()
Determines if there are any more items left in the Worklist.


All Packages  Class Hierarchy  This Package  Previous  Next  Index