public class ExternalForwardIterator extends Object implements PhylogenyNodeIterator
| Constructor and Description |
|---|
ExternalForwardIterator(Phylogeny phylogeny)
Constructor for ExternalForwardIterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
PhylogenyNode |
next() |
void |
remove()
Not supported.
|
void |
reset()
DOCUMENT ME!
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ExternalForwardIterator(Phylogeny phylogeny) throws IllegalArgumentException
tree - the tree on which to iterate over all external nodes.IllegalArgumentExceptionpublic boolean hasNext()
hasNext in interface Iterator<PhylogenyNode>hasNext in interface PhylogenyNodeIteratorpublic PhylogenyNode next() throws NoSuchElementException
next in interface Iterator<PhylogenyNode>next in interface PhylogenyNodeIteratorNoSuchElementExceptionpublic void remove()
remove in interface Iterator<PhylogenyNode>public void reset()
reset in interface PhylogenyNodeIteratorCopyright © 2016. All rights reserved.