T - the actual implementation type of this ImmutableTreeNodepublic class ImmutableTreeNode<T extends TreeNode<T>> extends ImmutableGraphNode<T> implements TreeNode<T>
ImmutableGraphNode specialization representing a tree node with a parent field linking back to the nodes
(only) parent.| Constructor and Description |
|---|
ImmutableTreeNode() |
ImmutableTreeNode(java.util.List<T> children) |
| Modifier and Type | Method and Description |
|---|---|
T |
getParent()
Returns the parent node or null if this node is the root.
|
getChildrenequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildrenpublic ImmutableTreeNode()
public ImmutableTreeNode(java.util.List<T> children)