Class ImmutableTreeNode<T extends TreeNode<T>>
java.lang.Object
org.parboiled.trees.ImmutableGraphNode<T>
org.parboiled.trees.ImmutableTreeNode<T>
- Type Parameters:
T- the actual implementation type of this ImmutableTreeNode
- Direct Known Subclasses:
ImmutableBinaryTreeNode
public class ImmutableTreeNode<T extends TreeNode<T>>
extends ImmutableGraphNode<T>
implements TreeNode<T>
An
ImmutableGraphNode specialization representing a tree node with a parent field linking back to the nodes
(only) parent.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidReturns the parent node or null if this node is the root.Methods inherited from class ImmutableGraphNode
getChildrenMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GraphNode
getChildren
-
Constructor Details
-
ImmutableTreeNode
public ImmutableTreeNode() -
ImmutableTreeNode
-
-
Method Details
-
getParent
-
acquireChildren
protected void acquireChildren()
-