Package | Description |
---|---|
cnslab.cnsmath |
Modifier and Type | Field and Description |
---|---|
protected RBTNode<T> |
RBTNode.left
The left child node of current node.
|
protected RBTNode<T> |
RBTNode.p
The parent node of current node.
|
protected RBTNode<T> |
RBTNode.right
The right child node of current node.
|
Modifier and Type | Method and Description |
---|---|
RBTNode<T> |
RBTNode.left()
Returns the left child of the node.
|
RBTNode<T> |
RBTNode.parent()
Returns the parent of the node.
|
RBTNode<T> |
RBTNode.right()
Returns the right child of the node.
|
Modifier and Type | Method and Description |
---|---|
void |
RBTNode.leftTo(RBTNode<T> l)
Sets the left child node to parent.
|
void |
RBTNode.parentTo(RBTNode<T> parent)
Sets the parent node to parent.
|
void |
RBTNode.rightTo(RBTNode<T> r)
Sets the right child node to parent.
|