Interface SequenceIterator

    • Method Detail

      • hasNext

        boolean hasNext()
        Returns whether there are more sequences to iterate over.
        Returns:
        true if there are more sequences to get and false otherwise
      • nextSequence

        Sequence nextSequence()
                       throws java.util.NoSuchElementException,
                              BioException
        Returns the next sequence in the iterator.
        Returns:
        the next Sequence
        Throws:
        java.util.NoSuchElementException - if you call nextSequence when hasNext returns false
        BioException - if for any reason the sequence could not be retrieved