|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tree
Simple interface representing a non-empty tree.
Method Summary | |
---|---|
Tree |
getChild(int i)
Returns the i'th subtree of the tree's root. |
int |
numChildren()
Returns the number of subtrees of the tree's root. |
Method Detail |
---|
int numChildren()
Tree getChild(int i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |