public class BinaryTree
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryTree.Node
This class represents a binary tree node.
|
| Constructor and Description |
|---|
BinaryTree() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTerm(java.lang.String value)
This method is called for each term that is on
the SQL query.
|
void |
addTerm(java.lang.String value,
java.lang.String operationTree)
Adds a new term to the tree
|
BinaryTree.Node |
getRoot() |
void |
printTree()
Print all the tree
|
public void addTerm(java.lang.String value)
value - expression formattedpublic void addTerm(java.lang.String value,
java.lang.String operationTree)
name - value - operationPair - operationTree - public void printTree()
public BinaryTree.Node getRoot()