|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojavax.bio.phylo.tree.DefaultBranch
public class DefaultBranch
Constructor Summary | |
---|---|
protected |
DefaultBranch(Node nodeA,
Node nodeB)
|
Method Summary | |
---|---|
Node |
getNodeA()
|
Node |
getNodeB()
|
java.util.Collection |
getNodes()
If this branch is part of a rooted tree, then it is guaranteed that the iterator of this collection will return the parent node first. |
Node |
getOtherNode(Node node)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected DefaultBranch(Node nodeA, Node nodeB)
Method Detail |
---|
public Node getNodeA()
getNodeA
in interface Branch
public Node getNodeB()
getNodeB
in interface Branch
Branch.getNodeA()
)public final Node getOtherNode(Node node) throws java.lang.IllegalArgumentException
getOtherNode
in interface Branch
java.lang.IllegalArgumentException
public final java.util.Collection getNodes()
Branch
getNodes
in interface Branch
Branch.getNodeA()
and Branch.getNodeB()
.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |