Class SequenceMixin.SequenceIterator<C extends Compound>

  • 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