public class TreeNode<T extends Comparable<T>>
extends Object
Constructor and Description |
---|
TreeNode(T value) |
TreeNode(T value,
TreeNode<T> parentNode) |
TreeNode(T value,
TreeNode<T> parentNode,
List<TreeNode<T>> childNodes) |
Modifier and Type | Method and Description |
---|---|
TreeNode<T> |
addChildNode(T value) |
List<TreeNode<T>> |
getChildNodes() |
List<T> |
getChildValues() |
TreeNode<T> |
getParentNode() |
T |
getValue() |
boolean |
isRootNode() |
public TreeNode(T value)