Package org.xcsp.common
Class Range.Rangesx4
- java.lang.Object
-
- org.xcsp.common.Range.Rangesx4
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(FunctionalInterfaces.Intx4Consumer c4)
Executes the specified consumer for each quadruple of integers contained in this range.Range.Rangesx5
range(int length)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified length (using implicitly a lower bound equal to 0 and a step equal to 1).Range.Rangesx5
range(int startInclusive, int endExclusive)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds (using implicitly a step equal to 1).Range.Rangesx5
range(int startInclusive, int endExclusive, int step)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds and step.Range.Rangesx5
rangeClosed(int startInclusive, int endInclusive)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds (using implicitly a step equal to 1).Range.Rangesx5
rangeClosed(int startInclusive, int endInclusive, int step)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds and step.
-
-
-
Method Detail
-
range
public Range.Rangesx5 range(int startInclusive, int endExclusive, int step)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds and step.- Parameters:
startInclusive
- the lower bound (inclusive) of the fifth range to be builtendExclusive
- the upper bound (exclusive) of the fifth range to be builtstep
- the step of the fifth range to be built- Returns:
- a quintuple range obtained by combining this quadruple range with a range built from the specified bounds and step
-
rangeClosed
public Range.Rangesx5 rangeClosed(int startInclusive, int endInclusive, int step)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds and step.- Parameters:
startInclusive
- the lower bound (inclusive) of the fifth range to be builtendInclusive
- the upper bound (inclusive) of the fifth range to be builtstep
- the step of the fifth range to be built- Returns:
- a quintuple range obtained by combining this quadruple range with a range built from the specified bounds and step
-
range
public Range.Rangesx5 range(int startInclusive, int endExclusive)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds (using implicitly a step equal to 1).- Parameters:
startInclusive
- the lower bound (exclusive) of the fifth range to be builtendExclusive
- the upper bound (inclusive) of the fifth range to be built- Returns:
- a quintuple range obtained by combining this quadruple range with a range built from the specified bounds
-
rangeClosed
public Range.Rangesx5 rangeClosed(int startInclusive, int endInclusive)
Returns a quintuple range obtained by combining this quadruple range with a range built from the specified bounds (using implicitly a step equal to 1).- Parameters:
startInclusive
- the lower bound (inclusive) of the fifth range to be builtendInclusive
- the upper bound (inclusive) of the fifth range to be built- Returns:
- a quintuple range obtained by combining this quadruple range with a range built from the specified bounds
-
range
public Range.Rangesx5 range(int length)
Returns a quintuple range obtained by combining this quadruple 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 fifth range- Returns:
- a quintuple range obtained by combining this quadruple range with a range built from the specified length
-
execute
public void execute(FunctionalInterfaces.Intx4Consumer c4)
Executes the specified consumer for each quadruple of integers contained in this range.- Parameters:
c4
- an object consuming quadruples of integers.
-
-