Uses of Class
com.google.common.primitives.ImmutableDoubleArray
Package
Description
Static utilities for the eight primitive types and
void
, and value types for treating
them as unsigned or storing them in immutable arrays.-
Uses of ImmutableDoubleArray in com.google.common.primitives
Modifier and TypeMethodDescriptionImmutableDoubleArray.Builder.build()
Returns a new immutable array.static ImmutableDoubleArray
ImmutableDoubleArray.copyOf
(double[] values) Returns an immutable array containing the given values, in order.static ImmutableDoubleArray
Returns an immutable array containing the given values, in order.static ImmutableDoubleArray
ImmutableDoubleArray.copyOf
(Collection<Double> values) Returns an immutable array containing the given values, in order.static ImmutableDoubleArray
ImmutableDoubleArray.copyOf
(DoubleStream stream) Returns an immutable array containing all the values fromstream
, 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 e0, double e1) Returns an immutable array containing the given values, in order.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, 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.subArray
(int startIndex, int endIndex) Returns a new immutable array containing the values in the specified range.ImmutableDoubleArray.trimmed()
Returns an immutable array containing the same values asthis
array.Modifier and TypeMethodDescriptionImmutableDoubleArray.Builder.addAll
(ImmutableDoubleArray values) Appendsvalues
, in order, to the end of the values the builtImmutableDoubleArray
will contain.