| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for a stack.
| Method Summary | |
 boolean | 
isEmpty()
Returns true if the stack is empty,
 false otherwise. | 
 java.lang.Object | 
pop()
Pops an object from the stack, returning the popped object.  | 
 void | 
push(java.lang.Object x)
Pushes an object onto the stack.  | 
| Method Detail | 
public void push(java.lang.Object x)
x - Object to be pushed.public java.lang.Object pop()
public boolean isEmpty()
true if the stack is empty,
 false otherwise.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||