|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openorb.util.CurrentStack
Implementation for current objects. Each push call should allways have a corresponding pop.
| Constructor Summary | |
|---|---|
CurrentStack()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
peek()
Get current data. |
java.lang.Object |
pop()
Remove data from current. |
void |
push(java.lang.Object obj)
Setup current data. |
java.lang.Object |
set(java.lang.Object obj)
Replace current data. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CurrentStack()
| Method Detail |
public java.lang.Object peek()
java.util.NoSuchElementException - If the current stack is empty.public void push(java.lang.Object obj)
obj - object to put on the current stack.public java.lang.Object pop()
java.util.NoSuchElementException - If the current stack is empty.public java.lang.Object set(java.lang.Object obj)
obj - object to replace the current object.
java.util.NoSuchElementException - If the current stack is empty.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||