|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeStack
A simple stack with the possibility to push and pop nodes.
Method Summary | |
---|---|
Node |
peek()
Get the node on top of the stack without removing it. |
Node |
pop()
Get the node on top of the stack and remove it. |
Node |
push(Node v)
Put a node on top of the stack. |
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.FixedNodeCollection |
---|
isEmpty, iterator |
Method Detail |
---|
Node peek()
EmptyStackException
Node pop()
EmptyStackException
Node push(Node v)
v
- the node to add to the stack
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |