Package ubic.basecode.dataStructure.tree
Class BinaryTree<T>
java.lang.Object
ubic.basecode.dataStructure.tree.BinaryTree<T>
- Author:
- Paul Pavlidis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoot()insertLeft(BinaryTreeNode<T> p, T o) insertRight(BinaryTreeNode<T> p, T o) booleanisEmpty()
-
Constructor Details
-
BinaryTree
-
-
Method Details
-
getRoot
- Returns:
- Returns the root.
-
insertLeft
-
insertRight
-
isEmpty
public boolean isEmpty()
-