|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Tree | |
---|---|
javatools.datatypes |
Uses of Tree in javatools.datatypes |
---|
Methods in javatools.datatypes that return Tree | |
---|---|
Tree<T> |
Tree.getParent()
Returns the parent |
Methods in javatools.datatypes that return types with arguments of type Tree | |
---|---|
java.util.List<Tree<T>> |
Tree.getChildren()
Depth first search across the tree |
Methods in javatools.datatypes with parameters of type Tree | |
---|---|
void |
Tree.addChild(Tree<T> child)
Adds a child |
void |
Tree.setParent(Tree<T> parent)
Sets the parent |
Method parameters in javatools.datatypes with type arguments of type Tree | |
---|---|
boolean |
Tree.receive(Visitor<Tree<T>> visitor)
Receives a visitor for a depth first traversal |
void |
Tree.setChildren(java.util.List<Tree<T>> children)
Sets the children |
Constructors in javatools.datatypes with parameters of type Tree | |
---|---|
Tree(Tree<T> parent,
T element)
Constructs a tree with a node element and a parent |
|
Tree(Tree<T> parent,
T element,
java.util.List<Tree<T>> children)
Constructs a tree with a node element and a parent |
Constructor parameters in javatools.datatypes with type arguments of type Tree | |
---|---|
Tree(T element,
java.util.List<Tree<T>> children)
Constructs a tree with a node element and children |
|
Tree(Tree<T> parent,
T element,
java.util.List<Tree<T>> children)
Constructs a tree with a node element and a parent |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |