Package | Description |
---|---|
org.parboiled.trees |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableTreeNode<T extends MutableTreeNode<T>>
A
TreeNode specialiation that allow for mutability of the tree structure. |
class |
MutableTreeNodeImpl<T extends MutableTreeNode<T>>
A base implementation of the
MutableTreeNode . |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>>
A
MutableTreeNode specialization also satisfying the BinaryTreeNode interface
and providing mutability methods. |
Modifier and Type | Class and Description |
---|---|
class |
MutableBinaryTreeNodeImpl<T extends MutableBinaryTreeNode<T>>
A simple
MutableBinaryTreeNode implementation based on the MutableTreeNodeImpl . |
class |
MutableTreeNodeImpl<T extends MutableTreeNode<T>>
A base implementation of the
MutableTreeNode . |
Modifier and Type | Field and Description |
---|---|
private T |
MutableTreeNodeImpl.parent |
Modifier and Type | Method and Description |
---|---|
static <T extends MutableTreeNode<T>> |
TreeUtils.addChild(T parent,
T child)
Adds a new child node to a given MutableTreeNode parent.
|
static <T extends MutableTreeNode<T>> |
TreeUtils.removeChild(T parent,
T child)
Removes the given child from the given parent node.
|
private static <T extends MutableTreeNode<T>> |
MutableTreeNodeImpl.setParent(T node,
MutableTreeNodeImpl<T> parent) |