Uses of Class
com.google.common.primitives.ImmutableDoubleArray.Builder
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.Builder in com.google.common.primitives
Modifier and TypeMethodDescriptionImmutableDoubleArray.Builder.add
(double value) Appendsvalue
to the end of the values the builtImmutableDoubleArray
will contain.ImmutableDoubleArray.Builder.addAll
(double[] values) Appendsvalues
, in order, to the end of the values the builtImmutableDoubleArray
will contain.ImmutableDoubleArray.Builder.addAll
(ImmutableDoubleArray values) Appendsvalues
, in order, to the end of the values the builtImmutableDoubleArray
will contain.Appendsvalues
, in order, to the end of the values the builtImmutableDoubleArray
will contain.ImmutableDoubleArray.Builder.addAll
(Collection<Double> values) Appendsvalues
, in order, to the end of the values the builtImmutableDoubleArray
will contain.ImmutableDoubleArray.Builder.addAll
(DoubleStream stream) Appends all values fromstream
, in order, to the end of the values the builtImmutableDoubleArray
will contain.static ImmutableDoubleArray.Builder
ImmutableDoubleArray.builder()
Returns a new, empty builder forImmutableDoubleArray
instances, with a default initial capacity.static ImmutableDoubleArray.Builder
ImmutableDoubleArray.builder
(int initialCapacity) Returns a new, empty builder forImmutableDoubleArray
instances, sized to hold up toinitialCapacity
values without resizing.