|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoftparsmap.ChildIterator
This child iterator will take into account that some of a the edges in a gene tree might be collapsed and therefore skip those nodes. Using this iterator and while flagging nodes collapsed provides a simple way to temporary collapse nodes in a gene tree.
Constructor Summary | |
ChildIterator(GeneNode node)
This iterator needs a gene node. |
|
ChildIterator(GeneNode node,
boolean storeWeakNodes)
This iterator needs a gene node and it is possible to store weak edges that are skipped when stepping through the children of the gene node. |
Method Summary | |
boolean |
hasNext()
See Iterator.java |
java.lang.Object |
next()
See Iterator.java |
void |
remove()
This method can not be used and a FatalException will be thrown if called. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChildIterator(GeneNode node)
node
- is a gene nodepublic ChildIterator(GeneNode node, boolean storeWeakNodes)
node
- is the gene nodestoreWeakNodes
- specifies of weak edges should be storedMethod Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator
public void remove()
remove
in interface java.util.Iterator
FatalExcetpion
- if this method is called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |