Uses of Class
org.eclipse.collections.impl.list.Interval
Package | Description |
---|---|
org.eclipse.collections.impl.list |
This package contains implementations of the
ListIterable interface. |
-
Uses of Interval in org.eclipse.collections.impl.list
Methods in org.eclipse.collections.impl.list that return Interval Modifier and Type Method Description Interval
Interval. by(int newStep)
This instanceby
method allows Interval to act as a fluent builder for itself.static Interval
Interval. evensFromTo(int from, int to)
Returns an Interval representing the even values from the value from to the value to.static Interval
Interval. from(int newFrom)
This staticfrom
method allows Interval to act as a fluent builder for itself.static Interval
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.static Interval
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.static Interval
Interval. fromToExclusive(int from, int to)
Returns an Interval starting from the value from until the specified value to (exclusive) with a step value of 1static Interval
Interval. oddsFromTo(int from, int to)
Returns an Interval representing the odd values from the value from to the value to.static Interval
Interval. oneTo(int count)
Returns an Interval starting from 1 to the specified count value with a step value of 1.static Interval
Interval. oneToBy(int count, int step)
Returns an Interval starting from 1 to the specified count value with a step value of step.Interval
Interval. reverseThis()
Returns a new interval with the from and to values reversed and the step value negated.Interval
Interval. subList(int fromIndex, int toIndex)
Interval
Interval. to(int newTo)
This instanceto
method allows Interval to act as a fluent builder for itself.static Interval
Interval. zero()
Returns an Interval starting at zero.static Interval
Interval. zeroTo(int count)
Returns an Interval starting from 0 to the specified count value with a step value of 1.static Interval
Interval. zeroToBy(int count, int step)
Returns an Interval starting from 0 to the specified count value with a step value of step.