public class BinaryTree extends Object
Modifier and Type | Class and Description |
---|---|
class |
BinaryTree.Node
This class represents a binary tree node.
|
Constructor and Description |
---|
BinaryTree() |
public void addTerm(String value)
value
- expression formattedpublic void addTerm(String value, String operationTree)
name
- value
- operationPair
- operationTree
- public void printTree()
public BinaryTree.Node getRoot()