Package | Description |
---|---|
myUtil |
Modifier and Type | Method and Description |
---|---|
BinaryTree<T> |
BinaryTree.getLeft() |
BinaryTree<T> |
BinaryTree.getRight() |
Constructor and Description |
---|
BinaryTree(BinaryTree<T> bt) |
BinaryTree(T data,
BinaryTree<T> left,
BinaryTree<T> right)
Instantiate a binary tree where data will be stored in the root node and
its left child is binary tree left and right child is binary tree right.
|
BinaryTree(T data,
BinaryTree<T> left,
BinaryTree<T> right)
Instantiate a binary tree where data will be stored in the root node and
its left child is binary tree left and right child is binary tree right.
|