|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface includes the basic queue functionality.
Method Summary | |
java.lang.Object |
dequeue()
Removes the first (top) Object in the queue. |
void |
enqueue(java.lang.Object obj)
Adds the given Object to the queue. |
boolean |
isEmpty()
|
Method Detail |
public void enqueue(java.lang.Object obj) throws InvalidParameterException
Object
to the queue.
obj
-
InvalidParameterException
public java.lang.Object dequeue() throws StackEmptyException
StackEmptyException
public boolean isEmpty()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |