org.matheclipse.core.eval.util
Class SimpleSequence
- java.lang.Object
-
- org.matheclipse.core.eval.util.AbstractSequence
-
- org.matheclipse.core.eval.util.SimpleSequence
-
- All Implemented Interfaces:
- ISequence
public class SimpleSequence extends AbstractSequence
A simple sequence specification implementation. A sequence in the interval ofintegernumbers:[getStart(), getStart()+getStep(), getStart()+getStep(), ..., getEnd()]
-
-
Constructor Summary
Constructors Constructor and Description SimpleSequence(int startOffset, int endOffset)SimpleSequence(int startOffset, int endOffset, int step)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetEnd()Get the end index for this sequenceintgetStart()Get the start index for this sequencevoidsetListSize(int size)This method is not used in this sequence implementation.-
Methods inherited from class org.matheclipse.core.eval.util.AbstractSequence
getIndices, getStep
-
-
-
-
Constructor Detail
-
SimpleSequence
public SimpleSequence(int startOffset, int endOffset)
-
SimpleSequence
public SimpleSequence(int startOffset, int endOffset, int step)
-
-
Method Detail
-
setListSize
public void setListSize(int size)
This method is not used in this sequence implementation.
-
getEnd
public int getEnd()
Description copied from interface:ISequenceGet the end index for this sequence- Returns:
- the
endOffsetof this sequence + 1;
-
getStart
public int getStart()
Description copied from interface:ISequenceGet the start index for this sequence- Returns:
- the start offset of this sequence;
-
-
DMelt 3.0 © DataMelt by jWork.ORG