public class AbstractSequenceIterator<T extends SequenceElement> extends java.lang.Object implements SequenceIterator<T>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSequenceIterator.Builder<T extends SequenceElement> |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.atomic.AtomicInteger |
tagger |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSequenceIterator(java.lang.Iterable<Sequence<T>> iterable) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreSequences()
Checks, if there's more sequences available
|
Sequence<T> |
nextSequence()
Returns next sequence out of iterator
|
void |
reset()
Resets iterator to first position
|
public boolean hasMoreSequences()
hasMoreSequences
in interface SequenceIterator<T extends SequenceElement>
public Sequence<T> nextSequence()
nextSequence
in interface SequenceIterator<T extends SequenceElement>
public void reset()
reset
in interface SequenceIterator<T extends SequenceElement>