|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjodd.util.SimpleQueue
Simple Queue (FIFO).
Constructor Summary | |
SimpleQueue()
|
Method Summary | |
java.lang.Object |
get()
Returns an element (object) from queue. |
java.lang.Object[] |
getAll()
Returns all elements from the queue and clears it. |
boolean |
isEmpty()
Is queue empty? |
java.lang.Object |
peek()
Peek element in queue. |
void |
put(java.lang.Object o)
Puts object in queue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleQueue()
Method Detail |
public void put(java.lang.Object o)
o
- object to be stored in queuepublic java.lang.Object get()
public java.lang.Object[] getAll()
public java.lang.Object peek()
public boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |