Package org.forester.phylogeny.iterators
Class PostorderTreeIterator
java.lang.Object
org.forester.phylogeny.iterators.PostorderTreeIterator
- All Implemented Interfaces:
 Iterator<PhylogenyNode>,PhylogenyNodeIterator
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal booleanhasNext()final PhylogenyNodenext()Advances the Iterator by one.final voidremove()final voidreset()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining 
- 
Constructor Details
- 
PostorderTreeIterator
- Parameters:
 t- Phylogeny for which a Iterator is to be constructed.- Throws:
 IllegalArgumentException
 
 - 
 - 
Method Details
- 
hasNext
public final boolean hasNext()- Specified by:
 hasNextin interfaceIterator<PhylogenyNode>- Specified by:
 hasNextin interfacePhylogenyNodeIterator
 - 
next
Advances the Iterator by one.- Specified by:
 nextin interfaceIterator<PhylogenyNode>- Specified by:
 nextin interfacePhylogenyNodeIterator- Throws:
 NoSuchElementException
 - 
remove
public final void remove()- Specified by:
 removein interfaceIterator<PhylogenyNode>
 - 
reset
public final void reset()- Specified by:
 resetin interfacePhylogenyNodeIterator
 
 -