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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Queue
public Queue()
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()