Package org.parboiled.trees
Interface MutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>>
-
- Type Parameters:
T
- the actual implementation type of this MutableBinaryTreeNode
- All Superinterfaces:
BinaryTreeNode<T>
,GraphNode<T>
,MutableTreeNode<T>
,TreeNode<T>
public interface MutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>> extends BinaryTreeNode<T>, MutableTreeNode<T>
AMutableTreeNode
specialization also satisfying theBinaryTreeNode
interface and providing mutability methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setLeft(T node)
Sets the left child node to the given node.void
setRight(T node)
Sets the right child node to the given node.-
Methods inherited from interface org.parboiled.trees.BinaryTreeNode
left, right
-
Methods inherited from interface org.parboiled.trees.GraphNode
getChildren
-
Methods inherited from interface org.parboiled.trees.MutableTreeNode
addChild, removeChild, setChild
-
-