|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.util.TokenStack
This class has utility methods for storing tokens of strings in a stack
| Constructor Summary | |
TokenStack()
Constructor for TokenStack. |
|
| Method Summary | |
boolean |
isEmpty()
Returns whether the stack is empty or not |
java.lang.String |
pop()
Returns a string popped off the top of the stack |
void |
push(java.lang.String token)
Pushes a string token onto the stack |
int |
size()
Returns the size of the stack |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TokenStack()
| Method Detail |
public void push(java.lang.String token)
token - public java.lang.String pop()
public boolean isEmpty()
public int size()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||