Interface SequenceIterator

All Known Subinterfaces:
RichSequenceIterator
All Known Implementing Classes:
HashedFastaIterator, RichSequence.IOTools.SingleRichSeqIterator, RichStreamReader, StreamReader

public interface SequenceIterator
An iterator over a bag of sequences.

java.util.Iterator was not appropriate here, as we need specific exceptions to be thrown, and as much type-safety as possible. However, we have made it as compliant with Iterator as we could so that there is a minimal learning curve.

Author:
Matthew Pocock
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether there are more sequences to iterate over.
    Returns the next sequence in the iterator.
  • Method Details