public static class LabelledTree.Node<L1,L2> extends LabelledTree<L1,L2>
LabelledTree.Leaf<L1,L2>, LabelledTree.Node<L1,L2>
Constructor | Description |
---|---|
Node(L1 label,
java.util.List<LabelledTree<L1,L2>> children) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<LabelledTree<L1,L2>> |
getChildren() |
|
L1 |
getLabel() |
public Node(L1 label, java.util.List<LabelledTree<L1,L2>> children)
public L1 getLabel()
public java.util.List<LabelledTree<L1,L2>> getChildren()