Documentation of 'org.matheclipse.core.eval.util.SimpleSequence' Java class
SimpleSequence
org.matheclipse.core.eval.util

Class SimpleSequence

  • All Implemented Interfaces:
    ISequence


    public class SimpleSequence
    extends AbstractSequence
    A simple sequence specification implementation. A sequence in the interval of integer numbers: [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
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: ISequence
        Get the end index for this sequence
        Returns:
        the endOffset of this sequence + 1;
      • getStart

        public int getStart()
        Description copied from interface: ISequence
        Get the start index for this sequence
        Returns:
        the start offset of this sequence;

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.