Uses of Class
com.google.common.primitives.ImmutableIntArray
Packages that use ImmutableIntArray
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 in com.google.common.primitives
Fields in com.google.common.primitives declared as ImmutableIntArrayModifier and TypeFieldDescriptionprivate static final ImmutableIntArray
ImmutableIntArray.EMPTY
private final ImmutableIntArray
ImmutableIntArray.AsList.parent
Methods in com.google.common.primitives that return ImmutableIntArrayModifier and TypeMethodDescriptionImmutableIntArray.Builder.build()
Returns a new immutable array.static ImmutableIntArray
ImmutableIntArray.copyOf
(int[] values) Returns an immutable array containing the given values, in order.static ImmutableIntArray
Returns an immutable array containing the given values, in order.static ImmutableIntArray
ImmutableIntArray.copyOf
(Collection<Integer> values) Returns an immutable array containing the given values, in order.static ImmutableIntArray
Returns an immutable array containing all the values fromstream
, in order.static ImmutableIntArray
ImmutableIntArray.of()
Returns the empty array.static ImmutableIntArray
ImmutableIntArray.of
(int e0) Returns an immutable array containing a single value.static ImmutableIntArray
ImmutableIntArray.of
(int e0, int e1) Returns an immutable array containing the given values, in order.static ImmutableIntArray
ImmutableIntArray.of
(int first, int... rest) Returns an immutable array containing the given values, in order.static ImmutableIntArray
ImmutableIntArray.of
(int e0, int e1, int e2) Returns an immutable array containing the given values, in order.static ImmutableIntArray
ImmutableIntArray.of
(int e0, int e1, int e2, int e3) Returns an immutable array containing the given values, in order.static ImmutableIntArray
ImmutableIntArray.of
(int e0, int e1, int e2, int e3, int e4) Returns an immutable array containing the given values, in order.static ImmutableIntArray
ImmutableIntArray.of
(int e0, int e1, int e2, int e3, int e4, int e5) Returns an immutable array containing the given values, in order.ImmutableIntArray.subArray
(int startIndex, int endIndex) Returns a new immutable array containing the values in the specified range.ImmutableIntArray.trimmed()
Returns an immutable array containing the same values asthis
array.Methods in com.google.common.primitives with parameters of type ImmutableIntArrayModifier and TypeMethodDescriptionImmutableIntArray.Builder.addAll
(ImmutableIntArray values) Appendsvalues
, in order, to the end of the values the builtImmutableIntArray
will contain.Constructors in com.google.common.primitives with parameters of type ImmutableIntArray