Package org.biojava.bio.alignment
Class Alignment.SymbolListIterator
- java.lang.Object
-
- org.biojava.bio.alignment.Alignment.SymbolListIterator
-
- All Implemented Interfaces:
Iterator<SymbolList>
- Enclosing interface:
- Alignment
public static class Alignment.SymbolListIterator extends Object implements Iterator<SymbolList>
Iterator implementation looping over symbol lists in an alignment using the labels. This is intended for Alignment implementors.- Author:
- Matthew Pocock
-
-
Constructor Summary
Constructors Constructor Description SymbolListIterator(Alignment ali)
Creates a SymbolListIterator for a given alignment object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
SymbolList
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
SymbolListIterator
public SymbolListIterator(Alignment ali)
Creates a SymbolListIterator for a given alignment object.- Parameters:
ali
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<SymbolList>
-
next
public SymbolList next()
- Specified by:
next
in interfaceIterator<SymbolList>
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<SymbolList>
-
-