|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All queue's must implement this interface, regardless of type.
Method Summary | |
void |
add(java.lang.Object object)
Adds and object to the queue. |
void |
clear()
Clears the queue of all object it is holding. |
java.lang.Object |
next()
Returns the next object in the queue, removing it in the process. |
java.lang.Object |
peek()
Returns the next object in the queue without removing it in the process. |
int |
size()
Returns the number of elements currently in the queue. |
void |
skip()
Skips the next object in the queue, removing it in the process. |
Method Detail |
public void add(java.lang.Object object)
public void clear()
public java.lang.Object next()
Queue.peek()
public java.lang.Object peek()
Queue.next()
public int size()
public void skip()
Queue.next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |