Uses of Class
com.google.common.primitives.ImmutableLongArray
Packages that use ImmutableLongArray
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 in com.google.common.primitives
Methods in com.google.common.primitives that return ImmutableLongArrayModifier and TypeMethodDescriptionImmutableLongArray.Builder.build()Returns a new immutable array.static ImmutableLongArrayImmutableLongArray.copyOf(long[] values) Returns an immutable array containing the given values, in order.static ImmutableLongArrayReturns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.copyOf(Collection<Long> values) Returns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.copyOf(LongStream stream) Returns an immutable array containing all the values fromstream, in order.static ImmutableLongArrayImmutableLongArray.of()Returns the empty array.static ImmutableLongArrayImmutableLongArray.of(long e0) Returns an immutable array containing a single value.static ImmutableLongArrayImmutableLongArray.of(long e0, long e1) Returns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.of(long first, long... rest) Returns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.of(long e0, long e1, long e2) Returns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.of(long e0, long e1, long e2, long e3) Returns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.of(long e0, long e1, long e2, long e3, long e4) Returns an immutable array containing the given values, in order.static ImmutableLongArrayImmutableLongArray.of(long e0, long e1, long e2, long e3, long e4, long e5) Returns an immutable array containing the given values, in order.ImmutableLongArray.subArray(int startIndex, int endIndex) Returns a new immutable array containing the values in the specified range.ImmutableLongArray.trimmed()Returns an immutable array containing the same values asthisarray.Methods in com.google.common.primitives with parameters of type ImmutableLongArrayModifier and TypeMethodDescriptionImmutableLongArray.Builder.addAll(ImmutableLongArray values) Appendsvalues, in order, to the end of the values the builtImmutableLongArraywill contain.