|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of TreePosition in net.datastructures |
|---|
| Classes in net.datastructures that implement TreePosition | |
|---|---|
class |
TreeNode<E>
Class implementing a node of a binary tree by storing references to an element, a parent node, a left node, and a right node. |
| Methods in net.datastructures that return TreePosition | |
|---|---|
TreePosition<E> |
TreePosition.getParent()
Returns the parent of this position |
TreePosition<E> |
TreeNode.getParent()
Returns the parent of this position |
| Methods in net.datastructures with parameters of type TreePosition | |
|---|---|
void |
TreePosition.setParent(TreePosition<E> v)
Sets the parent of this position |
void |
TreeNode.setParent(TreePosition<E> v)
Sets the parent of this position |
| Constructors in net.datastructures with parameters of type TreePosition | |
|---|---|
TreeNode(E element,
TreePosition<E> parent,
PositionList<Position<E>> children)
Main constructor |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||