|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of BTPosition in net.datastructures |
---|
Classes in net.datastructures that implement BTPosition | |
---|---|
class |
BTNode<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 BTPosition | |
---|---|
BTPosition<E> |
BTPosition.getLeft()
Returns the left child of this position |
BTPosition<E> |
BTNode.getLeft()
Returns the left child of this position |
BTPosition<E> |
BTPosition.getParent()
Returns the parent of this position |
BTPosition<E> |
BTNode.getParent()
Returns the parent of this position |
BTPosition<E> |
BTPosition.getRight()
Returns the right child of this position |
BTPosition<E> |
BTNode.getRight()
Returns the right child of this position |
Methods in net.datastructures with parameters of type BTPosition | |
---|---|
void |
BTPosition.setLeft(BTPosition<E> v)
Sets the left child of this position |
void |
BTNode.setLeft(BTPosition<E> v)
Sets the left child of this position |
void |
BTPosition.setParent(BTPosition<E> v)
Sets the parent of this position |
void |
BTNode.setParent(BTPosition<E> v)
Sets the parent of this position |
void |
BTPosition.setRight(BTPosition<E> v)
Sets the right child of this position |
void |
BTNode.setRight(BTPosition<E> v)
Sets the right child of this position |
Constructors in net.datastructures with parameters of type BTPosition | |
---|---|
BTNode(E element,
BTPosition<E> parent,
BTPosition<E> left,
BTPosition<E> right)
Main constructor |
|
BTNode(E element,
BTPosition<E> parent,
BTPosition<E> left,
BTPosition<E> right)
Main constructor |
|
BTNode(E element,
BTPosition<E> parent,
BTPosition<E> left,
BTPosition<E> right)
Main constructor |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |