Package | Description |
---|---|
org.eclipse.collections.impl.list |
This package contains implementations of the
ListIterable interface. |
Modifier and Type | Method | Description |
---|---|---|
Interval |
Interval.by(int newStep) |
This instance
by 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 static
from 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.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 instance
to 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.
|
Copyright © 2004–2019. All rights reserved.