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