Uses of Class
com.google.common.primitives.ImmutableDoubleArray
Packages that use 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
Methods in com.google.common.primitives that return ImmutableDoubleArrayModifier and TypeMethodDescriptionImmutableDoubleArray.Builder.build()Returns a new immutable array.static ImmutableDoubleArrayImmutableDoubleArray.copyOf(double[] values) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayReturns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.copyOf(Collection<Double> values) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.copyOf(DoubleStream stream) Returns an immutable array containing all the values fromstream, in order.static ImmutableDoubleArrayImmutableDoubleArray.of()Returns the empty array.static ImmutableDoubleArrayImmutableDoubleArray.of(double e0) Returns an immutable array containing a single value.static ImmutableDoubleArrayImmutableDoubleArray.of(double e0, double e1) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.of(double first, double... rest) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.of(double e0, double e1, double e2) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.of(double e0, double e1, double e2, double e3) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.of(double e0, double e1, double e2, double e3, double e4) Returns an immutable array containing the given values, in order.static ImmutableDoubleArrayImmutableDoubleArray.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 asthisarray.Methods in com.google.common.primitives with parameters of type ImmutableDoubleArrayModifier and TypeMethodDescriptionImmutableDoubleArray.Builder.addAll(ImmutableDoubleArray values) Appendsvalues, in order, to the end of the values the builtImmutableDoubleArraywill contain.