Google

: Class Queue

com.bitmechanic.util
Class Queue

java.lang.Object
  |
  +--com.bitmechanic.util.Queue

public class Queue
extends java.lang.Object

A simple queue implementation. Internally stores data in a Vector.

Version:
$Id: Queue.java,v 1.2 1999/08/25 06:20:08 pixel Exp $
Author:
James Cooper

Constructor Summary
Queue()
           
Queue(int size)
           
 
Method Summary
 java.lang.Object dequeue()
           
 boolean empty()
           
 void enqueue(java.lang.Object o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Queue

public Queue()

Queue

public Queue(int size)
Method Detail

dequeue

public java.lang.Object dequeue()

enqueue

public void enqueue(java.lang.Object o)

size

public int size()

empty

public boolean empty()