This package contains implementations of the
ListIterable
interface.
-
This instance by
method allows Interval to act as a fluent builder for itself.
Returns an Interval representing the even values from the value from to the value to.
Interval.from(int newFrom)
This static from
method allows Interval to act as a fluent builder for itself.
Interval.fromTo(int from,
int to)
Returns an Interval starting from the value from to the specified value to with a step value of 1.
Interval.fromToBy(int from,
int to,
int stepBy)
Returns an Interval for the range of integers inclusively between from and to with the specified
stepBy value.
Returns an Interval starting from the value from until the specified value to (exclusive) with a step value of 1
Returns an Interval representing the odd values from the value from to the value to.
Interval.oneTo(int count)
Returns an Interval starting from 1 to the specified count value with a step value of 1.
Interval.oneToBy(int count,
int step)
Returns an Interval starting from 1 to the specified count value with a step value of step.
Returns a new interval with the from and to values reversed and the step value negated.
Interval.subList(int fromIndex,
int toIndex)
This instance to
method allows Interval to act as a fluent builder for itself.
Returns an Interval starting at zero.
Returns an Interval starting from 0 to the specified count value with a step value of 1.
Returns an Interval starting from 0 to the specified count value with a step value of step.