Class Range.Rangesx3

  • Enclosing class:
    Range

    public static class Range.Rangesx3
    extends Object
    A class denoting a triple range.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(FunctionalInterfaces.Intx3Consumer c3)
      Executes the specified consumer on each triple contained in this range.
      Range.Rangesx4 range​(int length)
      Returns a quadruple range obtained by combining this triple range with a range built from the specified length (using implicitly a lower bound equal to 0 and a step equal to 1).
      Range.Rangesx4 range​(int startInclusive, int endExclusive)
      Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds (using implicitly a step equal to 1).
      Range.Rangesx4 range​(int startInclusive, int endExclusive, int step)
      Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds and step.
      Range.Rangesx4 rangeClosed​(int startInclusive, int endInclusive)
      Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds (using implicitly a step equal to 1).
      Range.Rangesx4 rangeClosed​(int startInclusive, int endInclusive, int step)
      Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds and step.
    • Method Detail

      • range

        public Range.Rangesx4 range​(int startInclusive,
                                    int endExclusive,
                                    int step)
        Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds and step.
        Parameters:
        startInclusive - the lower bound (inclusive) of the fourth range to be built
        endExclusive - the upper bound (exclusive) of the fourth range to be built
        step - the step of the fourth range to be built
        Returns:
        a quadruple range obtained by combining this triple range with a range built from the specified bounds and step
      • rangeClosed

        public Range.Rangesx4 rangeClosed​(int startInclusive,
                                          int endInclusive,
                                          int step)
        Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds and step.
        Parameters:
        startInclusive - the lower bound (inclusive) of the fourth range to be built
        endInclusive - the upper bound (inclusive) of the fourth range to be built
        step - the step of the fourth range to be built
        Returns:
        a quadruple range obtained by combining this triple range with a range built from the specified bounds and step
      • range

        public Range.Rangesx4 range​(int startInclusive,
                                    int endExclusive)
        Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds (using implicitly a step equal to 1).
        Parameters:
        startInclusive - the lower bound (inclusive) of the fourth range to be built
        endExclusive - the upper bound (exclusive) of the fourth range to be built
        Returns:
        a quadruple range obtained by combining this triple range with a range built from the specified bounds
      • rangeClosed

        public Range.Rangesx4 rangeClosed​(int startInclusive,
                                          int endInclusive)
        Returns a quadruple range obtained by combining this triple range with a range built from the specified bounds (using implicitly a step equal to 1).
        Parameters:
        startInclusive - the lower bound (inclusive) of the fourth range to be built
        endInclusive - the upper bound (inclusive) of the fourth range to be built
        Returns:
        a quadruple range obtained by combining this triple range with a range built from the specified bounds
      • range

        public Range.Rangesx4 range​(int length)
        Returns a quadruple range obtained by combining this triple range with a range built from the specified length (using implicitly a lower bound equal to 0 and a step equal to 1).
        Parameters:
        length - the length of the fourth range
        Returns:
        a quadruple range obtained by combining this triple range with a range built from the specified length
      • execute

        public void execute​(FunctionalInterfaces.Intx3Consumer c3)
        Executes the specified consumer on each triple contained in this range.
        Parameters:
        c3 - an object consuming triples of integers.