Description
Methods | Method | Description |
|---|---|
| Object findValue(String expr) | find a value by evaluating the given expressionagaint the stack in the default search order. |
| CompoundRoot getRoot() | Using the getRoot() which holds the objects pushed onto the stack. |
| Object peek() | Get the object on the top of the stack without changing the stack. |
| Object pop() | Get the object on the top of the stack and remove it from the stack. |
| Void push(Object 0) | Put this object onto the top of the stack. |
| Void set(String Key,Object 0) | Sets an object on the stack with the given key so it is retrievable by findvalue(key...) |
| int size() | Get the number of objects present in valuestack objects. |
More Info
Example
Step 2
Step 3
Step 4
Output
Key Points