Package | Description |
---|---|
org.ranksys.core.util |
Generic utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryTree<N extends BinaryTree.Node>
Binary tree.
|
Modifier and Type | Method and Description |
---|---|
BinaryTree.Node |
BinaryTree.Node.getLeftChild()
Returns the left child of this node.
|
BinaryTree.Node |
BinaryTree.Node.getParent()
Returns the parent node (if any) of this node.
|
BinaryTree.Node |
BinaryTree.Node.getRightChild()
Returns the right child of this node.
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryTree.Node.setLeftChild(BinaryTree.Node leftChild)
Sets a node as left child of this node.
|
void |
BinaryTree.Node.setRightChild(BinaryTree.Node rightChild)
Sets a node as right child of this node.
|
Copyright © 2016. All rights reserved.