All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aioli.vtp.TreeStack

java.lang.Object
   |
   +----aioli.vtp.TreeStack

public class TreeStack
extends Object
Just a simple tree stack


Constructor Index

 o TreeStack()
Creates an empty stack

Method Index

 o pop()
Pops the top of the stack
 o push(Tree)
Pushes an element ontop of the stack
 o top()
Returns the top of the stack

Constructors

 o TreeStack
 public TreeStack()
Creates an empty stack

Methods

 o pop
 public Tree pop()
Pops the top of the stack

Returns:
the top of the stack, or null if the stack is empty
 o push
 public void push(Tree tree)
Pushes an element ontop of the stack

Parameters:
tree - the tree to be pushed
 o top
 public Tree top()
Returns the top of the stack

Returns:
the top of the stack, or null if the stack is empty

All Packages  Class Hierarchy  This Package  Previous  Next  Index