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