ostore.util
Class Queue
java.lang.Object
|
+--ostore.util.Queue
- public class Queue
- extends Object
A simple Queue.
- Version:
- $Id: Queue.java,v 1.4 2002/08/01 18:39:27 geels Exp $
- Author:
- Sean C. Rhea
Constructor Summary |
Queue()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Queue
public Queue()
head
public Object head()
empty
public boolean empty()
size
public int size()
enqueue
public void enqueue(Object object)
dequeue
public Object dequeue()
main
public static void main(String[] argv)