datastructures

net.datastructures
Interface BTPosition

All Superinterfaces:
Position
All Known Implementing Classes:
BTNode

public interface BTPosition
extends Position

Interface for a node of a binary tree. It maintains an element, a parent node, a left node, and a right node.

Author:
Michael Goodrich

Method Summary
 BTPosition getLeft()
           
 BTPosition getParent()
           
 BTPosition getRight()
           
 void setElement(Object o)
           
 void setLeft(BTPosition v)
           
 void setParent(BTPosition v)
           
 void setRight(BTPosition v)
           
 
Methods inherited from interface net.datastructures.Position
element
 

Method Detail

setElement

public void setElement(Object o)

getLeft

public BTPosition getLeft()

setLeft

public void setLeft(BTPosition v)

getRight

public BTPosition getRight()

setRight

public void setRight(BTPosition v)

getParent

public BTPosition getParent()

setParent

public void setParent(BTPosition v)

datastructures