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 |
---|---|
ImmutableDoubleArray |
ImmutableDoubleArray.Builder.build()
Returns a new immutable array.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.copyOf(Collection<Double> values)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.copyOf(double[] values)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.copyOf(Iterable<Double> values)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of()
Returns the empty array.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double e0)
Returns an immutable array containing a single value.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double first,
double... rest)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double e0,
double e1)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double e0,
double e1,
double e2)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double e0,
double e1,
double e2,
double e3)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double e0,
double e1,
double e2,
double e3,
double e4)
Returns an immutable array containing the given values, in order.
|
static ImmutableDoubleArray |
ImmutableDoubleArray.of(double e0,
double e1,
double e2,
double e3,
double e4,
double e5)
Returns an immutable array containing the given values, in order.
|
ImmutableDoubleArray |
ImmutableDoubleArray.subArray(int startIndex,
int endIndex)
Returns a new immutable array containing the values in the specified range.
|
ImmutableDoubleArray |
ImmutableDoubleArray.trimmed()
Returns an immutable array containing the same values as
this array. |
Modifier and Type | Method and Description |
---|---|
ImmutableDoubleArray.Builder |
ImmutableDoubleArray.Builder.addAll(ImmutableDoubleArray values)
Appends
values , in order, to the end of the values the built ImmutableDoubleArray will contain. |
Copyright © 2010–2020. All rights reserved.