|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
E - the type of elements held in this queuepublic interface Queue<E>
A first-in-first-out (FIFO) queue of objects.
| Method Summary | |
|---|---|
E |
dequeue()
Detaches an item from the queue. |
void |
enqueue(E item)
Attaches an item to the queue. |
boolean |
isEmpty()
Indicates the status of the queue. |
| Method Detail |
|---|
boolean isEmpty()
true if the queue is empty.void enqueue(E item)
item - the item of type E to be queued.E dequeue()
NoSuchElementException - if the queue is empty.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||