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