public class TreeBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TreeBuilder.FlowDirection
enum for specyfying in which direction a Tree should be built.
|
Constructor and Description |
---|
TreeBuilder() |
Modifier and Type | Method and Description |
---|---|
BranchingTree |
buildTreeFor(NodeAdaptor node,
TreeBuilder.FlowDirection direction)
builds a BranchingTree
|
public BranchingTree buildTreeFor(NodeAdaptor node, TreeBuilder.FlowDirection direction)
node
- the node, from which the tree should emergedirection
- states,