| Modifier and Type | Method and Description |
|---|---|
| public Tree | |
| public int | |
| public Tree | |
| public Object | |
| public String |
| getChild | back to summary |
|---|---|
| public Tree getChild(int i) If there are children, get the | |
| getChildCount | back to summary |
|---|---|
| public int getChildCount() How many children are there? If there is none, then this node represents a leaf node. | |
| getParent | back to summary |
|---|---|
| public Tree getParent() The parent of this node. If the return value is null, then this node is the root of the tree. | |
| getPayload | back to summary |
|---|---|
| public Object getPayload() This method returns whatever object represents the data at this node. For
example, for parse trees, the payload can be a | |
| toStringTree | back to summary |
|---|---|
| public String toStringTree() Print out a whole tree, not just a node, in LISP format
| |