IntArray |
IntArray.combine(IntArray other,
IntBinaryOperator operator) |
Returns an instance where each element is formed by some combination of the matching
values in this array and the other array.
|
IntArray |
IntArray.concat(int... arrayToConcat) |
Returns an array that combines this array and the specified array.
|
IntArray |
IntArray.concat(IntArray arrayToConcat) |
Returns an array that combines this array and the specified array.
|
static IntArray |
IntArray.copyOf(int[] array) |
Obtains an instance from an array of int .
|
static IntArray |
IntArray.copyOf(int[] array,
int fromIndex) |
Obtains an instance by copying part of an array.
|
static IntArray |
IntArray.copyOf(int[] array,
int fromIndexInclusive,
int toIndexExclusive) |
Obtains an instance by copying part of an array.
|
static IntArray |
IntArray.copyOf(Collection<Integer> collection) |
Obtains an instance from a collection of Integer .
|
IntArray |
IntArray.dividedBy(int divisor) |
Returns an instance with each value divided by the specified divisor.
|
IntArray |
IntArray.dividedBy(IntArray other) |
Returns an instance where each element is calculated by dividing values in this array by values in the other array.
|
static IntArray |
IntArray.filled(int size) |
Obtains an instance with all entries equal to the zero.
|
static IntArray |
IntArray.filled(int size,
int value) |
Obtains an instance with all entries equal to the same value.
|
IntArray |
IntArray.map(IntUnaryOperator operator) |
Returns an instance with an operation applied to each value in the array.
|
IntArray |
IntArray.mapWithIndex(IntBinaryOperator function) |
Returns an instance with an operation applied to each indexed value in the array.
|
IntArray |
IntArray.minus(int amount) |
Returns an instance with the specified amount subtracted from each value.
|
IntArray |
IntArray.minus(IntArray other) |
Returns an instance where each element is equal to the difference between the
matching values in this array and the other array.
|
IntArray |
IntArray.multipliedBy(int factor) |
Returns an instance with each value multiplied by the specified factor.
|
IntArray |
IntArray.multipliedBy(IntArray other) |
Returns an instance where each element is equal to the product of the
matching values in this array and the other array.
|
static IntArray |
IntArray.of() |
Obtains an empty immutable array.
|
static IntArray |
IntArray.of(int value) |
Obtains an immutable array with a single value.
|
static IntArray |
IntArray.of(int value1,
int value2) |
Obtains an immutable array with two values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3) |
Obtains an immutable array with three values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3,
int value4) |
Obtains an immutable array with four values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3,
int value4,
int value5) |
Obtains an immutable array with five values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3,
int value4,
int value5,
int value6) |
Obtains an immutable array with six values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3,
int value4,
int value5,
int value6,
int value7) |
Obtains an immutable array with seven values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3,
int value4,
int value5,
int value6,
int value7,
int value8) |
Obtains an immutable array with eight values.
|
static IntArray |
IntArray.of(int value1,
int value2,
int value3,
int value4,
int value5,
int value6,
int value7,
int value8,
int... otherValues) |
Obtains an immutable array with more than eight values.
|
static IntArray |
IntArray.of(int size,
IntUnaryOperator valueFunction) |
Obtains an instance with entries filled using a function.
|
static IntArray |
IntArray.of(IntStream stream) |
Obtains an instance with entries filled from a stream.
|
static IntArray |
IntArray.ofUnsafe(int[] array) |
Obtains an instance by wrapping an array.
|
IntArray |
IntArray.plus(int amount) |
Returns an instance with the specified amount added to each value.
|
IntArray |
IntArray.plus(IntArray other) |
Returns an instance where each element is the sum of the matching values
in this array and the other array.
|
IntArray |
IntArray.sorted() |
Returns a sorted copy of this array.
|
IntArray |
IntArray.subArray(int fromIndexInclusive) |
Returns an array holding the values from the specified index onwards.
|
IntArray |
IntArray.subArray(int fromIndexInclusive,
int toIndexExclusive) |
Returns an array holding the values between the specified from and to indices.
|
IntArray |
IntArray.with(int index,
int newValue) |
Returns an instance with the value at the specified index changed.
|