pal.tree
Class TreeRestricter
java.lang.Object
pal.tree.TreeRestricter
public class TreeRestricter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeRestricter
public TreeRestricter(Node root,
int units,
java.lang.String[] names,
boolean inclusion)
- Parameters:
root
- The root of the treeunits
- the units of the treenames
- the names of the nodes to either exclude, or includeinclusion
- if true the names supplied mark leaves to include, else mark leaves to exclude
TreeRestricter
public TreeRestricter(Tree t,
java.lang.String[] names,
boolean inclusion)
- Parameters:
root
- The root of the treeunits
- the units of the treenames
- the names of the nodes to either exclude, or includeinclusion
- if true the names supplied mark leaves to include, else mark leaves to exclude
generateNode
public final Node generateNode()
generateTree
public final Tree generateTree()
construct
public final pal.tree.TreeRestricter.RNode construct(Node peer,
java.lang.String[] names,
boolean inclusion,
boolean isRoot)