C G I M S T

C

calcSize() - Method in class tree.MyNode
Calculate the size this subtree.
cardinal() - Method in class tree.MyTree
Calculate the number of nodes in this tree.

G

getFather() - Method in class tree.MyNode
Gets the father of this node.
getLeftChild() - Method in class tree.MyNode
Gets the left child of this node.
getRightChild() - Method in class tree.MyNode
Gets the right child of this node.
getRoot() - Method in class tree.MyTree
Return a reference to the root in this tree.
getValue() - Method in class tree.MyNode
Gets the value of this node.

I

insert(MyNode) - Method in class tree.MyTree
Inserts a node in this tree.

M

MyNode - class tree.MyNode.
This is a node in a binary search tree.
MyNode(int) - Constructor for class tree.MyNode
Class constructor initializing this node's value.
MyTree - class tree.MyTree.
This is a binary search tree.
MyTree() - Constructor for class tree.MyTree
Class constructor.

S

setFather(MyNode) - Method in class tree.MyNode
Sets the father of this node.
setLeftChild(MyNode) - Method in class tree.MyNode
Sets the left child of this node.
setRightChild(MyNode) - Method in class tree.MyNode
Sets the right child of this node.
setValue(int) - Method in class tree.MyNode
Sets the vlaue of this node.

T

tree - package tree
This package implements a binary search tree.

C G I M S T