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>
-
contains(Object)
- Determines if the Worklist contains an item.
-
isEmpty()
- Determines if there are any more items left in the Worklist.
-
pull()
- Removes an item from the Worklist and return it.
-
push(Object)
- Pushes an item onto the Worklist if it is not already there.
push
public abstract Object push(Object item)
- Pushes an item onto the Worklist if it is not already there.
pull
public abstract Object pull()
- Removes an item from the Worklist and return it.
contains
public abstract boolean contains(Object item)
- Determines if the Worklist contains an item.
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