Class SequenceMixin.SequenceIterator<C extends Compound>
- java.lang.Object
 - 
- org.biojava.nbio.core.sequence.template.SequenceMixin.SequenceIterator<C>
 
 
- 
- Type Parameters:
 C- Type of compound to return
- All Implemented Interfaces:
 Iterator<C>
- Enclosing class:
 - SequenceMixin
 
public static class SequenceMixin.SequenceIterator<C extends Compound> extends Object implements Iterator<C>
A basic sequence iterator which iterates over the given Sequence by biological index. This assumes your sequence supports random access and performs well when doing these operations.- Author:
 - ayates
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SequenceIterator(Sequence<C> sequence) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Cnext()voidremove()- 
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
- 
SequenceIterator
public SequenceIterator(Sequence<C> sequence)
 
 - 
 
 -