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
Methods in com.google.common.primitives that return ImmutableIntArrayModifier and TypeMethodDescriptionImmutableIntArray.Builder.build()Returns a new immutable array.static ImmutableIntArrayImmutableIntArray.copyOf(int[] values) Returns an immutable array containing the given values, in order.static ImmutableIntArrayReturns an immutable array containing the given values, in order.static ImmutableIntArrayImmutableIntArray.copyOf(Collection<Integer> values) Returns an immutable array containing the given values, in order.static ImmutableIntArrayReturns an immutable array containing all the values fromstream, in order.static ImmutableIntArrayImmutableIntArray.of()Returns the empty array.static ImmutableIntArrayImmutableIntArray.of(int e0) Returns an immutable array containing a single value.static ImmutableIntArrayImmutableIntArray.of(int e0, int e1) Returns an immutable array containing the given values, in order.static ImmutableIntArrayImmutableIntArray.of(int first, int... rest) Returns an immutable array containing the given values, in order.static ImmutableIntArrayImmutableIntArray.of(int e0, int e1, int e2) Returns an immutable array containing the given values, in order.static ImmutableIntArrayImmutableIntArray.of(int e0, int e1, int e2, int e3) Returns an immutable array containing the given values, in order.static ImmutableIntArrayImmutableIntArray.of(int e0, int e1, int e2, int e3, int e4) Returns an immutable array containing the given values, in order.static ImmutableIntArrayImmutableIntArray.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 asthisarray.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 builtImmutableIntArraywill contain.