public abstract class AbstractSequence extends java.lang.Object implements ISequence
integer
numbers:
[getStart(), getStart()+getStep(), getStart()+2*getStep(), ..., getEnd()]
Modifier and Type | Field and Description |
---|---|
protected int |
fEndOffset |
protected int |
fStartOffset |
protected int |
fStep |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSequence(int startOffset,
int endOffset,
int step) |
Modifier and Type | Method and Description |
---|---|
int[] |
getIndices()
Get the generated sequence of indices for this ISequence.
|
int |
getStep()
The step for calculating the next index in the sequence.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnd, getStart, setListSize
protected final int fStartOffset
protected final int fEndOffset
protected final int fStep
protected AbstractSequence(int startOffset, int endOffset, int step)
public int getStep()
public int[] getIndices()
getIndices
in interface ISequence
[getStart(), getStart()+getStep(), getStart()+2*getStep(), ..., getEnd()]