|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
E - the type of elements held in this stackpublic interface Stack<E>
A last-in-first-out (LIFO) stack of objects.
| Method Summary | |
|---|---|
boolean |
isEmpty()
Indicates the status of the stack. |
E |
pop()
Pops an item off the stack. |
void |
push(E item)
Pushes an item onto the stack. |
| Method Detail |
|---|
boolean isEmpty()
true if the stack is empty.void push(E item)
item - the item of type E to be pushed.E pop()
NoSuchElementException - if the stack is empty.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||