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 |
---|---|
protected void |
acquireChildren() |
T |
getParent()
Returns the parent node or null if this node is the root.
|
getChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren
public ImmutableTreeNode()
public ImmutableTreeNode(java.util.List<T> children)