Package | Description |
---|---|
org.eclipse.collections.impl.list.primitive |
This package contains implementations of the primitive list interfaces.
|
Modifier and Type | Method | Description |
---|---|---|
IntInterval |
IntInterval.by(int newStep) |
This instance
by method allows IntInterval to act as a fluent builder for itself. |
static IntInterval |
IntInterval.evensFromTo(int from,
int to) |
Returns an IntInterval representing the even values from the value from to the value to.
|
static IntInterval |
IntInterval.from(int newFrom) |
This static
from method allows IntInterval to act as a fluent builder for itself. |
static IntInterval |
IntInterval.fromTo(int from,
int to) |
Returns an IntInterval starting from the value from to the specified value to with a step value of 1.
|
static IntInterval |
IntInterval.fromToBy(int from,
int to,
int stepBy) |
Returns an IntInterval for the range of integers inclusively between from and to with the specified
stepBy value.
|
static IntInterval |
IntInterval.oddsFromTo(int from,
int to) |
Returns an IntInterval representing the odd values from the value from to the value to.
|
static IntInterval |
IntInterval.oneTo(int count) |
Returns an IntInterval starting from 1 to the specified count value with a step value of 1.
|
static IntInterval |
IntInterval.oneToBy(int count,
int step) |
Returns an IntInterval starting from 1 to the specified count value with a step value of step.
|
IntInterval |
IntInterval.to(int newTo) |
This instance
to method allows IntInterval to act as a fluent builder for itself. |
IntInterval |
IntInterval.toReversed() |
Returns a new IntInterval with the from and to values reversed and the step value negated.
|
static IntInterval |
IntInterval.zero() |
Returns an IntInterval starting at zero.
|
static IntInterval |
IntInterval.zeroTo(int count) |
Returns an IntInterval starting from 0 to the specified count value with a step value of 1.
|
static IntInterval |
IntInterval.zeroToBy(int count,
int step) |
Returns an IntInterval starting from 0 to the specified count value with a step value of step.
|
Copyright © 2004–2017. All rights reserved.