pal.tree
public static final class TreeManipulator.PALNodeWrapper extends java.lang.Object
Constructor and Description |
---|
TreeManipulator.PALNodeWrapper(Node peer) |
TreeManipulator.PALNodeWrapper(Node peer,
TreeManipulator.PALNodeWrapper parent) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAnnotation() |
pal.tree.TreeManipulator.SimpleNode |
getChild(int child) |
java.lang.String |
getLabel() |
int |
getNumberOfChildren() |
Node |
getPALPeer() |
pal.tree.TreeManipulator.SimpleBranch |
getParentBranch() |
double |
getParentBranchLength()
Obtain the length of the parent branch (or 0 if no parent branch)
|
boolean |
isLeaf() |
public TreeManipulator.PALNodeWrapper(Node peer)
public TreeManipulator.PALNodeWrapper(Node peer, TreeManipulator.PALNodeWrapper parent)
public java.lang.Object getAnnotation()
public java.lang.String getLabel()
public boolean isLeaf()
public int getNumberOfChildren()
public pal.tree.TreeManipulator.SimpleNode getChild(int child)
public pal.tree.TreeManipulator.SimpleBranch getParentBranch()
public Node getPALPeer()
public double getParentBranchLength()