|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic FIFO queue.
Method Summary | |
java.lang.Object |
dequeueFIFO()
Removes the item that was inserted first into this queue, and returns this item. |
int |
getSize()
Returns the current size (number of items) in this queue. |
java.lang.Object |
headFIFO()
Returns the item that was inserted first into this queue. |
Method Detail |
public java.lang.Object headFIFO()
java.lang.IndexOutOfBoundsException
- if this queue is emptypublic java.lang.Object dequeueFIFO()
java.lang.IndexOutOfBoundsException
- if this queue is emptypublic int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |