|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.Queue
Implementation of a simple queue
| Constructor Summary | |
Queue()
|
|
| Method Summary | |
void |
addItem(java.lang.Object item)
Adds an item to the queue |
java.lang.Object |
currentItem()
Returns the current item ot the queue |
java.lang.Object |
nextItem()
Returns the next item ot the queue |
void |
setCirculating(boolean circulating)
If the circulating is set to true, the items will not be deleted after getting them with nextItem (they gonna move to the end of the queue) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Queue()
| Method Detail |
public void addItem(java.lang.Object item)
item - public java.lang.Object nextItem()
public java.lang.Object currentItem()
public void setCirculating(boolean circulating)
circulating - The circulating to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||