Class DoubleRange

    • Constructor Detail

      • DoubleRange

        public DoubleRange​(Double left,
                           Double right)
      • DoubleRange

        public DoubleRange​(Double left,
                           Double right,
                           double step)
      • DoubleRange

        public DoubleRange​(Double left,
                           Double right,
                           double step,
                           boolean leftClosed,
                           boolean rightClosed,
                           boolean reverse)
    • Method Detail

      • getFromLeft

        public Double getFromLeft​(int iStepIndex)
        Parameters:
        iStepIndex - The index of the step from the left endpoint
        Returns:
        The nth step from the left endpoint. Returns null if iStepIndex is out of bounds.
      • getFromRight

        public Double getFromRight​(int iStepIndex)
        Parameters:
        iStepIndex - The index of the step from the right endpoint
        Returns:
        The nth step from the right endpoint. Returns null if iStepIndex is out of bounds.