devutil
Class Queue

java.lang.Object
  |
  +--devutil.Queue
All Implemented Interfaces:
java.io.Serializable

public class Queue
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Queue()
           
 
Method Summary
 void add(java.lang.Object item)
           
 java.util.Enumeration elements()
           
 boolean isEmpty()
           
 java.lang.Object remove()
           
 void removeElement(java.lang.Object item)
           
 java.lang.Object removeNB()
          Throws NoSuchElementException if the queue is empty.
 int size()
           
 void waitOnEmpty()
           
 void waitUntilEmpty()
          It blocks until the queue is empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Queue

public Queue()
Method Detail

remove

public java.lang.Object remove()

add

public void add(java.lang.Object item)

removeNB

public java.lang.Object removeNB()
Throws NoSuchElementException if the queue is empty.

waitUntilEmpty

public void waitUntilEmpty()
It blocks until the queue is empty.

waitOnEmpty

public void waitOnEmpty()

removeElement

public void removeElement(java.lang.Object item)

elements

public java.util.Enumeration elements()

isEmpty

public boolean isEmpty()

size

public int size()