|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava3.core.sequence.template.SequenceMixin.SequenceIterator<C>
C - Type of compound to returnpublic static class SequenceMixin.SequenceIterator<C extends Compound>
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.
| Constructor Summary | |
|---|---|
SequenceMixin.SequenceIterator(Sequence<C> sequence)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
C |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceMixin.SequenceIterator(Sequence<C> sequence)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<C extends Compound>public C next()
next in interface java.util.Iterator<C extends Compound>public void remove()
remove in interface java.util.Iterator<C extends Compound>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||