|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gvsig.remoteclient.wfs.filters.BinaryTree
public class BinaryTree
This class implements a binary tree (not ordered) that is used to build a sintactic tree for the SQL language.
| Nested Class Summary | |
|---|---|
class |
BinaryTree.Node
This class represents a binary tree node. |
| Constructor Summary | |
|---|---|
BinaryTree()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryTree()
| Method Detail |
|---|
public void addTerm(java.lang.String value)
value - expression formatted
public void addTerm(java.lang.String value,
java.lang.String operationTree)
name - value - operationPair - operationTree - public BinaryTree.Node getRoot()
public void printTree()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||