|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The abstract data type queue.
Method Summary | |
java.lang.Object |
dequeue()
Retrieves the item from the queue head and removes it. |
void |
enqueue(java.lang.Object el)
Stores an item at the queue end. |
java.lang.Object |
firstEl()
Retrieves the item from the queue head but doesn't remove it. |
boolean |
isEmpty()
Verifies if the queue is empty. |
Method Detail |
public void enqueue(java.lang.Object el)
el
- the object to store.public java.lang.Object dequeue()
public java.lang.Object firstEl()
public boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |