|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.fdsapi.FDSStack
Implimentation of a stack.
*
View Code
| Constructor Summary | |
FDSStack()
Creates a new instance of FDSStack |
|
| Method Summary | |
java.lang.Object |
getCurrent()
get the current top item on the stack, but don't pop. |
boolean |
isEmpty()
Returns true if the stack is empty, false otherwise |
java.lang.Object |
pop()
pop from the stack |
void |
push(java.lang.Object item)
Push to the stack |
void |
reset()
Wipe out anything on the stack i.e. |
int |
size()
Return how many items are on the stack |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FDSStack()
| Method Detail |
public void push(java.lang.Object item)
public java.lang.Object pop()
public java.lang.Object getCurrent()
public void reset()
public int size()
public boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||