org.parboiled.trees
Interface BinaryTreeNode<T extends BinaryTreeNode<T>>

Type Parameters:
T - the actual implementation type of this tree node
All Superinterfaces:
GraphNode<T>, TreeNode<T>
All Known Subinterfaces:
MutableBinaryTreeNode<T>
All Known Implementing Classes:
ImmutableBinaryTreeNode, MutableBinaryTreeNodeImpl

public interface BinaryTreeNode<T extends BinaryTreeNode<T>>
extends TreeNode<T>

A TreeNode specialization with only two child nodes, left and right.


Method Summary
 T left()
          Returns the left sub node.
 T right()
          Returns the right sub node.
 
Methods inherited from interface org.parboiled.trees.TreeNode
getParent
 
Methods inherited from interface org.parboiled.trees.GraphNode
getChildren
 

Method Detail

left

T left()
Returns the left sub node.

Returns:
the left sub node

right

T right()
Returns the right sub node.

Returns:
the right sub node