|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stack<T>
A stack interface.
Method Summary | |
---|---|
boolean |
isEmpty()
Returns true if this stack is empty. |
T |
pop()
Pops an element from this stack. |
void |
push(T rVal_)
Pushes an element into the stack. |
int |
size()
Returns the current number of elements in this stack. |
Method Detail |
---|
void push(T rVal_)
rVal_
- the element to add into the stackT pop()
boolean isEmpty()
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |