ImmutableIntArray |
ImmutableIntArray.Builder.build() |
Returns a new immutable array.
|
static ImmutableIntArray |
ImmutableIntArray.copyOf(int[] values) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.copyOf(Iterable<Integer> values) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.copyOf(Collection<Integer> values) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.copyOf(IntStream stream) |
Returns an immutable array containing all the values from stream , in order.
|
static ImmutableIntArray |
ImmutableIntArray.of() |
Returns the empty array.
|
static ImmutableIntArray |
ImmutableIntArray.of(int e0) |
Returns an immutable array containing a single value.
|
static ImmutableIntArray |
ImmutableIntArray.of(int e0,
int e1) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.of(int first,
int... rest) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.of(int e0,
int e1,
int e2) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.of(int e0,
int e1,
int e2,
int e3) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.of(int e0,
int e1,
int e2,
int e3,
int e4) |
Returns an immutable array containing the given values, in order.
|
static ImmutableIntArray |
ImmutableIntArray.of(int e0,
int e1,
int e2,
int e3,
int e4,
int e5) |
Returns an immutable array containing the given values, in order.
|
ImmutableIntArray |
ImmutableIntArray.subArray(int startIndex,
int endIndex) |
Returns a new immutable array containing the values in the specified range.
|
ImmutableIntArray |
ImmutableIntArray.trimmed() |
Returns an immutable array containing the same values as this array.
|