|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Queue<T>
A queue interface.
Method Summary | |
---|---|
void |
clear()
Removes all elements from this queue. |
T |
dequeue()
Dequeues this queue. |
void |
enqueue(T rObj)
Enqueues this queue. |
boolean |
isEmpty()
Returns true if there are no more elements in this. |
int |
size()
Returns the number of elements in this. |
Method Detail |
---|
T dequeue()
void enqueue(T rObj)
rObj
- the object to add to the queueboolean isEmpty()
void clear()
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |