beowulf.model.tree
Interface BSTModel
- All Superinterfaces:
- BinaryTreeModel, TreeModel
- All Known Implementing Classes:
- DefaultBST
- public interface BSTModel
- extends BinaryTreeModel
- Version:
- 1.0, 11/17/2003
- Author:
- Andy Scukanec (ags at cs dot cornell dot edu)
getInOrderElements
public Enumeration getInOrderElements()
- This will return an in-order enumeration of all values in the tree.
- Returns:
- An in-order enumeration of all the elements in the tree.
getPreOrderElements
public Enumeration getPreOrderElements()
- This will return an pre-order enumeration of all values in the tree.
- Returns:
- A pre-order enumeration of all the elements in the tree.
getPostOrderElements
public Enumeration getPostOrderElements()
- This will return an post-order enumeration of all values in the tree.
- Returns:
- An post-order enumeration of all the elements in the tree.