public class SimpleSequence extends AbstractSequence
integer
numbers:
[getStart(), getStart()+getStep(), getStart()+getStep(), ..., getEnd()]
fEndOffset, fStartOffset, fStep
Constructor and Description |
---|
SimpleSequence(int startOffset,
int endOffset) |
SimpleSequence(int startOffset,
int endOffset,
int step) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Get the end index for this sequence
|
int |
getStart()
Get the start index for this sequence
|
void |
setListSize(int size)
This method is not used in this sequence implementation.
|
getIndices, getStep
public SimpleSequence(int startOffset, int endOffset)
public SimpleSequence(int startOffset, int endOffset, int step)
public void setListSize(int size)
public int getEnd()
ISequence
endOffset
of this sequence + 1;public int getStart()
ISequence