Package | Description |
---|---|
com.google.common.primitives |
Static utilities for working with the eight primitive types and
void , and value types for
treating them as unsigned. |
Modifier and Type | Method and Description |
---|---|
ImmutableLongArray |
ImmutableLongArray.Builder.build()
Returns a new immutable array.
|
static ImmutableLongArray |
ImmutableLongArray.copyOf(Collection<Long> values)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.copyOf(Iterable<Long> values)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.copyOf(long[] values)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.of()
Returns the empty array.
|
static ImmutableLongArray |
ImmutableLongArray.of(long e0)
Returns an immutable array containing a single value.
|
static ImmutableLongArray |
ImmutableLongArray.of(long first,
long... rest)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.of(long e0,
long e1)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.of(long e0,
long e1,
long e2)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.of(long e0,
long e1,
long e2,
long e3)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.of(long e0,
long e1,
long e2,
long e3,
long e4)
Returns an immutable array containing the given values, in order.
|
static ImmutableLongArray |
ImmutableLongArray.of(long e0,
long e1,
long e2,
long e3,
long e4,
long e5)
Returns an immutable array containing the given values, in order.
|
ImmutableLongArray |
ImmutableLongArray.subArray(int startIndex,
int endIndex)
Returns a new immutable array containing the values in the specified range.
|
ImmutableLongArray |
ImmutableLongArray.trimmed()
Returns an immutable array containing the same values as
this array. |
Modifier and Type | Method and Description |
---|---|
ImmutableLongArray.Builder |
ImmutableLongArray.Builder.addAll(ImmutableLongArray values)
Appends
values , in order, to the end of the values the built ImmutableLongArray will contain. |
Copyright © 2010-2017. All Rights Reserved.