public static final class RichSequence.IOTools.SingleRichSeqIterator extends Object implements RichSequenceIterator
Constructor and Description |
---|
RichSequence.IOTools.SingleRichSeqIterator(Sequence seq)
Creates an iterator over a single sequence.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns whether there are more sequences to iterate over.
|
BioEntry |
nextBioEntry() |
RichSequence |
nextRichSequence() |
Sequence |
nextSequence()
Returns the next sequence in the iterator.
|
public RichSequence.IOTools.SingleRichSeqIterator(Sequence seq)
seq
- the sequence to iterate over.public boolean hasNext()
hasNext
in interface SequenceIterator
hasNext
in interface BioEntryIterator
RichSequence
is availablepublic Sequence nextSequence()
nextSequence
in interface SequenceIterator
RichSequence
public BioEntry nextBioEntry()
nextBioEntry
in interface BioEntryIterator
RichSequence
public RichSequence nextRichSequence()
nextRichSequence
in interface RichSequenceIterator
RichSequence
Copyright © 2014 BioJava. All rights reserved.