Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(double) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Appends
valueto the end of the values the builtImmutableDoubleArraywill contain. - add(int) - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Appends
valueto the end of the values the builtImmutableIntArraywill contain. - add(long) - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Appends
valueto the end of the values the builtImmutableLongArraywill contain. - addAll(double[]) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableDoubleArraywill contain. - addAll(int[]) - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableIntArraywill contain. - addAll(long[]) - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableLongArraywill contain. - addAll(ImmutableDoubleArray) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableDoubleArraywill contain. - addAll(ImmutableIntArray) - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableIntArraywill contain. - addAll(ImmutableLongArray) - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableLongArraywill contain. - addAll(Iterable<Double>) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableDoubleArraywill contain. - addAll(Iterable<Integer>) - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableIntArraywill contain. - addAll(Iterable<Long>) - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableLongArraywill contain. - addAll(Collection<Double>) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableDoubleArraywill contain. - addAll(Collection<Integer>) - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableIntArraywill contain. - addAll(Collection<Long>) - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Appends
values, in order, to the end of the values the builtImmutableLongArraywill contain. - addAll(DoubleStream) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Appends all values from
stream, in order, to the end of the values the builtImmutableDoubleArraywill contain. - addAll(IntStream) - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Appends all values from
stream, in order, to the end of the values the builtImmutableIntArraywill contain. - addAll(LongStream) - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Appends all values from
stream, in order, to the end of the values the builtImmutableLongArraywill contain. - allPrimitiveTypes() - Static method in class dev.mccue.guava.primitives.Primitives
-
Returns an immutable set of all nine primitive types (including
void). - allWrapperTypes() - Static method in class dev.mccue.guava.primitives.Primitives
-
Returns an immutable set of all nine primitive-wrapper types (including
Void). - asList() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable view of this array's values as a
List; note thatdoublevalues are boxed intoDoubleinstances on demand, which can be very expensive. - asList() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable view of this array's values as a
List; note thatintvalues are boxed intoIntegerinstances on demand, which can be very expensive. - asList() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable view of this array's values as a
List; note thatlongvalues are boxed intoLonginstances on demand, which can be very expensive. - asList(boolean...) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(byte...) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(char...) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(double...) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(float...) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(int...) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(long...) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]). - asList(short...) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns a fixed-size list backed by the specified array, similar to
Arrays.asList(Object[]).
B
- bigIntegerValue() - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the value of this
UnsignedIntegeras aBigInteger. - bigIntegerValue() - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the value of this
UnsignedLongas aBigInteger. - Booleans - Class in dev.mccue.guava.primitives
- build() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray.Builder
-
Returns a new immutable array.
- build() - Method in class dev.mccue.guava.primitives.ImmutableIntArray.Builder
-
Returns a new immutable array.
- build() - Method in class dev.mccue.guava.primitives.ImmutableLongArray.Builder
-
Returns a new immutable array.
- builder() - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns a new, empty builder for
ImmutableDoubleArrayinstances, with a default initial capacity. - builder() - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns a new, empty builder for
ImmutableIntArrayinstances, with a default initial capacity. - builder() - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns a new, empty builder for
ImmutableLongArrayinstances, with a default initial capacity. - builder(int) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns a new, empty builder for
ImmutableDoubleArrayinstances, sized to hold up toinitialCapacityvalues without resizing. - builder(int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns a new, empty builder for
ImmutableIntArrayinstances, sized to hold up toinitialCapacityvalues without resizing. - builder(int) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns a new, empty builder for
ImmutableLongArrayinstances, sized to hold up toinitialCapacityvalues without resizing. - Bytes - Class in dev.mccue.guava.primitives
- BYTES - Static variable in class dev.mccue.guava.primitives.Chars
-
The number of bytes required to represent a primitive
charvalue. - BYTES - Static variable in class dev.mccue.guava.primitives.Doubles
-
The number of bytes required to represent a primitive
doublevalue. - BYTES - Static variable in class dev.mccue.guava.primitives.Floats
-
The number of bytes required to represent a primitive
floatvalue. - BYTES - Static variable in class dev.mccue.guava.primitives.Ints
-
The number of bytes required to represent a primitive
intvalue. - BYTES - Static variable in class dev.mccue.guava.primitives.Longs
-
The number of bytes required to represent a primitive
longvalue. - BYTES - Static variable in class dev.mccue.guava.primitives.Shorts
-
The number of bytes required to represent a primitive
shortvalue.
C
- Chars - Class in dev.mccue.guava.primitives
- checkedCast(long) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the
charvalue that is equal tovalue, if possible. - checkedCast(long) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the
intvalue that is equal tovalue, if possible. - checkedCast(long) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the
shortvalue that is equal tovalue, if possible. - checkedCast(long) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Returns the
bytevalue that is equal tovalue, if possible. - checkedCast(long) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the
bytevalue that, when treated as unsigned, is equal tovalue, if possible. - checkedCast(long) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the
intvalue that, when treated as unsigned, is equal tovalue, if possible. - compare(boolean, boolean) - Static method in class dev.mccue.guava.primitives.Booleans
-
Compares the two specified
booleanvalues in the standard way (falseis considered less thantrue). - compare(byte, byte) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Compares the two specified
bytevalues. - compare(byte, byte) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Compares the two specified
bytevalues, treating them as unsigned values between 0 and 255 inclusive. - compare(char, char) - Static method in class dev.mccue.guava.primitives.Chars
-
Compares the two specified
charvalues. - compare(double, double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Compares the two specified
doublevalues. - compare(float, float) - Static method in class dev.mccue.guava.primitives.Floats
-
Compares the two specified
floatvalues usingFloat.compare(float, float). - compare(int, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Compares the two specified
intvalues. - compare(int, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Compares the two specified
intvalues, treating them as unsigned values between0and2^32 - 1inclusive. - compare(long, long) - Static method in class dev.mccue.guava.primitives.Longs
-
Compares the two specified
longvalues. - compare(long, long) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Compares the two specified
longvalues, treating them as unsigned values between0and2^64 - 1inclusive. - compare(short, short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Compares the two specified
shortvalues. - compareTo(UnsignedInteger) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Compares this unsigned integer to another unsigned integer.
- compareTo(UnsignedLong) - Method in class dev.mccue.guava.primitives.UnsignedLong
- concat(boolean[]...) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns the values from each provided array combined into a single array.
- concat(byte[]...) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns the values from each provided array combined into a single array.
- concat(char[]...) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the values from each provided array combined into a single array.
- concat(double[]...) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the values from each provided array combined into a single array.
- concat(float[]...) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the values from each provided array combined into a single array.
- concat(int[]...) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the values from each provided array combined into a single array.
- concat(long[]...) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the values from each provided array combined into a single array.
- concat(short[]...) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the values from each provided array combined into a single array.
- constrainToRange(char, char, char) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the value nearest to
valuewhich is within the closed range[min..max]. - constrainToRange(double, double, double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the value nearest to
valuewhich is within the closed range[min..max]. - constrainToRange(float, float, float) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the value nearest to
valuewhich is within the closed range[min..max]. - constrainToRange(int, int, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the value nearest to
valuewhich is within the closed range[min..max]. - constrainToRange(long, long, long) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the value nearest to
valuewhich is within the closed range[min..max]. - constrainToRange(short, short, short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the value nearest to
valuewhich is within the closed range[min..max]. - contains(boolean[], boolean) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(byte[], byte) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(char[], char) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(double) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns
trueiftargetis present at any index in this array. - contains(double[], double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(float[], float) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(int) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns
trueiftargetis present at any index in this array. - contains(int[], int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(long) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns
trueiftargetis present at any index in this array. - contains(long[], long) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns
trueiftargetis present as an element anywhere inarray. - contains(short[], short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns
trueiftargetis present as an element anywhere inarray. - copyOf(double[]) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- copyOf(int[]) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- copyOf(long[]) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- copyOf(Iterable<Double>) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- copyOf(Iterable<Integer>) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- copyOf(Iterable<Long>) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- copyOf(Collection<Double>) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- copyOf(Collection<Integer>) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- copyOf(Collection<Long>) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- copyOf(DoubleStream) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing all the values from
stream, in order. - copyOf(IntStream) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing all the values from
stream, in order. - copyOf(LongStream) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing all the values from
stream, in order. - countTrue(boolean...) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns the number of
valuesthat aretrue.
D
- decode(String) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the unsigned
intvalue represented by the given string. - decode(String) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns the unsigned
longvalue represented by the given string. - dev.mccue.guava.primitives - module dev.mccue.guava.primitives
- dev.mccue.guava.primitives - package dev.mccue.guava.primitives
-
Static utilities for the eight primitive types and
void, and value types for treating them as unsigned or storing them in immutable arrays. - divide(int, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit quantities.
- divide(long, long) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit quantities.
- dividedBy(UnsignedInteger) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the result of dividing this by
val. - dividedBy(UnsignedLong) - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the result of dividing this by
val. - Doubles - Class in dev.mccue.guava.primitives
- doubleValue() - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the value of this
UnsignedIntegeras afloat, analogous to a widening primitive conversion frominttodouble, and correctly rounded. - doubleValue() - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the value of this
UnsignedLongas adouble, analogous to a widening primitive conversion fromlongtodouble, and correctly rounded.
E
- ensureCapacity(boolean[], int, int) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(byte[], int, int) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(char[], int, int) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(double[], int, int) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(float[], int, int) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(int[], int, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(long[], int, int) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - ensureCapacity(short[], int, int) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns an array containing the same values as
array, but guaranteed to be of a specified minimum length. - equals(Object) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns
trueifobjectis anImmutableDoubleArraycontaining the same values as this one, in the same order. - equals(Object) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns
trueifobjectis anImmutableIntArraycontaining the same values as this one, in the same order. - equals(Object) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns
trueifobjectis anImmutableLongArraycontaining the same values as this one, in the same order. - equals(Object) - Method in class dev.mccue.guava.primitives.UnsignedInteger
- equals(Object) - Method in class dev.mccue.guava.primitives.UnsignedLong
F
- falseFirst() - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns a
Comparator<Boolean>that sortsfalsebeforetrue. - Floats - Class in dev.mccue.guava.primitives
- floatValue() - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the value of this
UnsignedIntegeras afloat, analogous to a widening primitive conversion frominttofloat, and correctly rounded. - floatValue() - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the value of this
UnsignedLongas afloat, analogous to a widening primitive conversion fromlongtofloat, and correctly rounded. - forEach(DoubleConsumer) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Invokes
consumerfor each value contained in this array, in order. - forEach(IntConsumer) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Invokes
consumerfor each value contained in this array, in order. - forEach(LongConsumer) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Invokes
consumerfor each value contained in this array, in order. - fromByteArray(byte[]) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the
charvalue whose big-endian representation is stored in the first 2 bytes ofbytes; equivalent toByteBuffer.wrap(bytes).getChar(). - fromByteArray(byte[]) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the
intvalue whose big-endian representation is stored in the first 4 bytes ofbytes; equivalent toByteBuffer.wrap(bytes).getInt(). - fromByteArray(byte[]) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the
longvalue whose big-endian representation is stored in the first 8 bytes ofbytes; equivalent toByteBuffer.wrap(bytes).getLong(). - fromByteArray(byte[]) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the
shortvalue whose big-endian representation is stored in the first 2 bytes ofbytes; equivalent toByteBuffer.wrap(bytes).getShort(). - fromBytes(byte, byte) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the
charvalue whose byte representation is the given 2 bytes, in big-endian order; equivalent toChars.fromByteArray(new byte[] {b1, b2}). - fromBytes(byte, byte) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the
shortvalue whose byte representation is the given 2 bytes, in big-endian order; equivalent toShorts.fromByteArray(new byte[] {b1, b2}). - fromBytes(byte, byte, byte, byte) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the
intvalue whose byte representation is the given 4 bytes, in big-endian order; equivalent toInts.fromByteArray(new byte[] {b1, b2, b3, b4}). - fromBytes(byte, byte, byte, byte, byte, byte, byte, byte) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the
longvalue whose byte representation is the given 8 bytes, in big-endian order; equivalent toLongs.fromByteArray(new byte[] {b1, b2, b3, b4, b5, b6, b7, b8}). - fromIntBits(int) - Static method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns an
UnsignedIntegercorresponding to a given bit representation. - fromLongBits(long) - Static method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns an
UnsignedLongcorresponding to a given bit representation.
G
- get(int) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns the
doublevalue present at the given index. - get(int) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns the
intvalue present at the given index. - get(int) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns the
longvalue present at the given index.
H
- hashCode() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an unspecified hash code for the contents of this immutable array.
- hashCode() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an unspecified hash code for the contents of this immutable array.
- hashCode() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an unspecified hash code for the contents of this immutable array.
- hashCode() - Method in class dev.mccue.guava.primitives.UnsignedInteger
- hashCode() - Method in class dev.mccue.guava.primitives.UnsignedLong
- hashCode(boolean) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns a hash code for
value; equal to the result of invoking((Boolean) value).hashCode(). - hashCode(byte) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns a hash code for
value; equal to the result of invoking((Byte) value).hashCode(). - hashCode(char) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns a hash code for
value; equal to the result of invoking((Character) value).hashCode(). - hashCode(double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns a hash code for
value; equal to the result of invoking((Double) value).hashCode(). - hashCode(float) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns a hash code for
value; equal to the result of invoking((Float) value).hashCode(). - hashCode(int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns a hash code for
value; equal to the result of invoking((Integer) value).hashCode(). - hashCode(long) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns a hash code for
value; equal to the result of invoking((Long) value).hashCode(). - hashCode(short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns a hash code for
value; equal to the result of invoking((Short) value).hashCode().
I
- ImmutableDoubleArray - Class in dev.mccue.guava.primitives
-
An immutable array of
doublevalues, with an API resemblingList. - ImmutableDoubleArray.Builder - Class in dev.mccue.guava.primitives
-
A builder for
ImmutableDoubleArrayinstances; obtained usingImmutableDoubleArray.builder(int). - ImmutableIntArray - Class in dev.mccue.guava.primitives
-
An immutable array of
intvalues, with an API resemblingList. - ImmutableIntArray.Builder - Class in dev.mccue.guava.primitives
-
A builder for
ImmutableIntArrayinstances; obtained usingImmutableIntArray.builder(int). - ImmutableLongArray - Class in dev.mccue.guava.primitives
-
An immutable array of
longvalues, with an API resemblingList. - ImmutableLongArray.Builder - Class in dev.mccue.guava.primitives
-
A builder for
ImmutableLongArrayinstances; obtained usingImmutableLongArray.builder(int). - indexOf(boolean[], boolean) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(boolean[], boolean[]) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(byte[], byte) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(byte[], byte[]) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(char[], char) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(char[], char[]) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(double) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns the smallest index for which
ImmutableDoubleArray.get(int)returnstarget, or-1if no such index exists. - indexOf(double[], double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(double[], double[]) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(float[], float) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(float[], float[]) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(int) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns the smallest index for which
ImmutableIntArray.get(int)returnstarget, or-1if no such index exists. - indexOf(int[], int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(int[], int[]) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(long) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns the smallest index for which
ImmutableLongArray.get(int)returnstarget, or-1if no such index exists. - indexOf(long[], long) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(long[], long[]) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - indexOf(short[], short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the index of the first appearance of the value
targetinarray. - indexOf(short[], short[]) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the start position of the first occurrence of the specified
targetwithinarray, or-1if there is no such occurrence. - Ints - Class in dev.mccue.guava.primitives
- intValue() - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the value of this
UnsignedIntegeras anint. - intValue() - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the value of this
UnsignedLongas anint. - isEmpty() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns
trueif there are no values in this array (ImmutableDoubleArray.length()is zero). - isEmpty() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns
trueif there are no values in this array (ImmutableIntArray.length()is zero). - isEmpty() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns
trueif there are no values in this array (ImmutableLongArray.length()is zero). - isFinite(double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns
trueifvaluerepresents a real number. - isFinite(float) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns
trueifvaluerepresents a real number. - isWrapperType(Class<?>) - Static method in class dev.mccue.guava.primitives.Primitives
J
- join(String, boolean...) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns a string containing the supplied
booleanvalues separated byseparator. - join(String, byte...) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Returns a string containing the supplied
bytevalues separated byseparator. - join(String, byte...) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns a string containing the supplied
bytevalues separated byseparator. - join(String, char...) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns a string containing the supplied
charvalues separated byseparator. - join(String, double...) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns a string containing the supplied
doublevalues, converted to strings as specified byDouble.toString(double), and separated byseparator. - join(String, float...) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns a string containing the supplied
floatvalues, converted to strings as specified byFloat.toString(float), and separated byseparator. - join(String, int...) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns a string containing the supplied
intvalues separated byseparator. - join(String, int...) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns a string containing the supplied unsigned
intvalues separated byseparator. - join(String, long...) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns a string containing the supplied
longvalues separated byseparator. - join(String, long...) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns a string containing the supplied unsigned
longvalues separated byseparator. - join(String, short...) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns a string containing the supplied
shortvalues separated byseparator.
L
- lastIndexOf(boolean[], boolean) - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(byte[], byte) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(char[], char) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(double) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns the largest index for which
ImmutableDoubleArray.get(int)returnstarget, or-1if no such index exists. - lastIndexOf(double[], double) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(float[], float) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(int) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns the largest index for which
ImmutableIntArray.get(int)returnstarget, or-1if no such index exists. - lastIndexOf(int[], int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(long) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns the largest index for which
ImmutableLongArray.get(int)returnstarget, or-1if no such index exists. - lastIndexOf(long[], long) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the index of the last appearance of the value
targetinarray. - lastIndexOf(short[], short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the index of the last appearance of the value
targetinarray. - length() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns the number of values in this array.
- length() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns the number of values in this array.
- length() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns the number of values in this array.
- lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns a comparator that compares two
booleanarrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Chars
-
Returns a comparator that compares two
chararrays lexicographically; not advisable for sorting user-visible strings as the ordering may not match the conventions of the user's locale. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns a comparator that compares two
doublearrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Floats
-
Returns a comparator that compares two
floatarrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Ints
-
Returns a comparator that compares two
intarrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Longs
-
Returns a comparator that compares two
longarrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns a comparator that compares two
shortarrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Returns a comparator that compares two
bytearrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns a comparator that compares two
bytearrays lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns a comparator that compares two arrays of unsigned
intvalues lexicographically. - lexicographicalComparator() - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns a comparator that compares two arrays of unsigned
longvalues lexicographically. - Longs - Class in dev.mccue.guava.primitives
- longValue() - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the value of this
UnsignedIntegeras along. - longValue() - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the value of this
UnsignedLongas along.
M
- max(byte...) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Returns the greatest value present in
array. - max(byte...) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the greatest value present in
array, treating values as unsigned. - max(char...) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the greatest value present in
array. - max(double...) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the greatest value present in
array, using the same rules of comparison asMath.max(double, double). - max(float...) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the greatest value present in
array, using the same rules of comparison asMath.max(float, float). - max(int...) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the greatest value present in
array. - max(int...) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the greatest value present in
array, treating values as unsigned. - max(long...) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the greatest value present in
array. - max(long...) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns the greatest value present in
array, treating values as unsigned. - max(short...) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the greatest value present in
array. - MAX_POWER_OF_TWO - Static variable in class dev.mccue.guava.primitives.Ints
-
The largest power of two that can be represented as an
int. - MAX_POWER_OF_TWO - Static variable in class dev.mccue.guava.primitives.Longs
-
The largest power of two that can be represented as a
long. - MAX_POWER_OF_TWO - Static variable in class dev.mccue.guava.primitives.Shorts
-
The largest power of two that can be represented as a
short. - MAX_POWER_OF_TWO - Static variable in class dev.mccue.guava.primitives.SignedBytes
-
The largest power of two that can be represented as a signed
byte. - MAX_POWER_OF_TWO - Static variable in class dev.mccue.guava.primitives.UnsignedBytes
-
The largest power of two that can be represented as an unsigned
byte. - MAX_VALUE - Static variable in class dev.mccue.guava.primitives.UnsignedBytes
-
The largest value that fits into an unsigned byte.
- MAX_VALUE - Static variable in class dev.mccue.guava.primitives.UnsignedInteger
- MAX_VALUE - Static variable in class dev.mccue.guava.primitives.UnsignedLong
- MAX_VALUE - Static variable in class dev.mccue.guava.primitives.UnsignedLongs
- min(byte...) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Returns the least value present in
array. - min(byte...) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the least value present in
array, treating values as unsigned. - min(char...) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the least value present in
array. - min(double...) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns the least value present in
array, using the same rules of comparison asMath.min(double, double). - min(float...) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns the least value present in
array, using the same rules of comparison asMath.min(float, float). - min(int...) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the least value present in
array. - min(int...) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the least value present in
array, treating values as unsigned. - min(long...) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns the least value present in
array. - min(long...) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns the least value present in
array, treating values as unsigned. - min(short...) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the least value present in
array. - minus(UnsignedInteger) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the result of subtracting this and
val. - minus(UnsignedLong) - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the result of subtracting this and
val. - mod(UnsignedInteger) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns this mod
val. - mod(UnsignedLong) - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns this modulo
val.
O
- of() - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns the empty array.
- of() - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns the empty array.
- of() - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns the empty array.
- of(double) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing a single value.
- of(double, double) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- of(double, double...) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- of(double, double, double) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- of(double, double, double, double) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- of(double, double, double, double, double) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- of(double, double, double, double, double, double) - Static method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the given values, in order.
- of(int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing a single value.
- of(int, int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- of(int, int...) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- of(int, int, int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- of(int, int, int, int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- of(int, int, int, int, int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- of(int, int, int, int, int, int) - Static method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the given values, in order.
- of(long) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing a single value.
- of(long, long) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- of(long, long...) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- of(long, long, long) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- of(long, long, long, long) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- of(long, long, long, long, long) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- of(long, long, long, long, long, long) - Static method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the given values, in order.
- ONE - Static variable in class dev.mccue.guava.primitives.UnsignedInteger
- ONE - Static variable in class dev.mccue.guava.primitives.UnsignedLong
P
- parseUnsignedByte(String) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the unsigned
bytevalue represented by the given decimal string. - parseUnsignedByte(String, int) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the unsigned
bytevalue represented by a string with the given radix. - parseUnsignedInt(String) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the unsigned
intvalue represented by the given decimal string. - parseUnsignedInt(String, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the unsigned
intvalue represented by a string with the given radix. - parseUnsignedLong(String) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns the unsigned
longvalue represented by the given decimal string. - parseUnsignedLong(String, int) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns the unsigned
longvalue represented by a string with the given radix. - plus(UnsignedInteger) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the result of adding this and
val. - plus(UnsignedLong) - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the result of adding this and
val. - Primitives - Class in dev.mccue.guava.primitives
-
Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
R
- remainder(int, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit quantities.
- remainder(long, long) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns dividend % divisor, where the dividend and divisor are treated as unsigned 64-bit quantities.
- reverse(boolean[]) - Static method in class dev.mccue.guava.primitives.Booleans
-
Reverses the elements of
array. - reverse(boolean[], int, int) - Static method in class dev.mccue.guava.primitives.Booleans
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(byte[]) - Static method in class dev.mccue.guava.primitives.Bytes
-
Reverses the elements of
array. - reverse(byte[], int, int) - Static method in class dev.mccue.guava.primitives.Bytes
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(char[]) - Static method in class dev.mccue.guava.primitives.Chars
-
Reverses the elements of
array. - reverse(char[], int, int) - Static method in class dev.mccue.guava.primitives.Chars
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(double[]) - Static method in class dev.mccue.guava.primitives.Doubles
-
Reverses the elements of
array. - reverse(double[], int, int) - Static method in class dev.mccue.guava.primitives.Doubles
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(float[]) - Static method in class dev.mccue.guava.primitives.Floats
-
Reverses the elements of
array. - reverse(float[], int, int) - Static method in class dev.mccue.guava.primitives.Floats
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(int[]) - Static method in class dev.mccue.guava.primitives.Ints
-
Reverses the elements of
array. - reverse(int[], int, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(long[]) - Static method in class dev.mccue.guava.primitives.Longs
-
Reverses the elements of
array. - reverse(long[], int, int) - Static method in class dev.mccue.guava.primitives.Longs
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - reverse(short[]) - Static method in class dev.mccue.guava.primitives.Shorts
-
Reverses the elements of
array. - reverse(short[], int, int) - Static method in class dev.mccue.guava.primitives.Shorts
-
Reverses the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(boolean[], int) - Static method in class dev.mccue.guava.primitives.Booleans
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(boolean[], int, int, int) - Static method in class dev.mccue.guava.primitives.Booleans
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(byte[], int) - Static method in class dev.mccue.guava.primitives.Bytes
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(byte[], int, int, int) - Static method in class dev.mccue.guava.primitives.Bytes
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(char[], int) - Static method in class dev.mccue.guava.primitives.Chars
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(char[], int, int, int) - Static method in class dev.mccue.guava.primitives.Chars
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(double[], int) - Static method in class dev.mccue.guava.primitives.Doubles
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(double[], int, int, int) - Static method in class dev.mccue.guava.primitives.Doubles
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(float[], int) - Static method in class dev.mccue.guava.primitives.Floats
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(float[], int, int, int) - Static method in class dev.mccue.guava.primitives.Floats
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(int[], int) - Static method in class dev.mccue.guava.primitives.Ints
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(int[], int, int, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(long[], int) - Static method in class dev.mccue.guava.primitives.Longs
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(long[], int, int, int) - Static method in class dev.mccue.guava.primitives.Longs
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive. - rotate(short[], int) - Static method in class dev.mccue.guava.primitives.Shorts
-
Performs a right rotation of
arrayof "distance" places, so that the first element is moved to index "distance", and the element at indexiends up at index(distance + i) mod array.length. - rotate(short[], int, int, int) - Static method in class dev.mccue.guava.primitives.Shorts
-
Performs a right rotation of
arraybetweenfromIndexinclusive andtoIndexexclusive.
S
- saturatedCast(long) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns the
charnearest in value tovalue. - saturatedCast(long) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns the
intnearest in value tovalue. - saturatedCast(long) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns the
shortnearest in value tovalue. - saturatedCast(long) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Returns the
bytenearest in value tovalue. - saturatedCast(long) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the
bytevalue that, when treated as unsigned, is nearest in value tovalue. - saturatedCast(long) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the
intvalue that, when treated as unsigned, is nearest in value tovalue. - Shorts - Class in dev.mccue.guava.primitives
- SignedBytes - Class in dev.mccue.guava.primitives
-
Static utility methods pertaining to
byteprimitives that interpret values as signed. - sort(byte[]) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Sorts the array, treating its elements as unsigned bytes.
- sort(byte[], int, int) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Sorts the array between
fromIndexinclusive andtoIndexexclusive, treating its elements as unsigned bytes. - sort(int[]) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Sorts the array, treating its elements as unsigned 32-bit integers.
- sort(int[], int, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Sorts the array between
fromIndexinclusive andtoIndexexclusive, treating its elements as unsigned 32-bit integers. - sort(long[]) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Sorts the array, treating its elements as unsigned 64-bit integers.
- sort(long[], int, int) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Sorts the array between
fromIndexinclusive andtoIndexexclusive, treating its elements as unsigned 64-bit integers. - sortDescending(byte[]) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Sorts the elements of
arrayin descending order. - sortDescending(byte[]) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Sorts the elements of
arrayin descending order, interpreting them as unsigned 8-bit integers. - sortDescending(byte[], int, int) - Static method in class dev.mccue.guava.primitives.SignedBytes
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - sortDescending(byte[], int, int) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order, interpreting them as unsigned 8-bit integers. - sortDescending(char[]) - Static method in class dev.mccue.guava.primitives.Chars
-
Sorts the elements of
arrayin descending order. - sortDescending(char[], int, int) - Static method in class dev.mccue.guava.primitives.Chars
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - sortDescending(double[]) - Static method in class dev.mccue.guava.primitives.Doubles
-
Sorts the elements of
arrayin descending order. - sortDescending(double[], int, int) - Static method in class dev.mccue.guava.primitives.Doubles
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - sortDescending(float[]) - Static method in class dev.mccue.guava.primitives.Floats
-
Sorts the elements of
arrayin descending order. - sortDescending(float[], int, int) - Static method in class dev.mccue.guava.primitives.Floats
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - sortDescending(int[]) - Static method in class dev.mccue.guava.primitives.Ints
-
Sorts the elements of
arrayin descending order. - sortDescending(int[]) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Sorts the elements of
arrayin descending order, interpreting them as unsigned 32-bit integers. - sortDescending(int[], int, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - sortDescending(int[], int, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order, interpreting them as unsigned 32-bit integers. - sortDescending(long[]) - Static method in class dev.mccue.guava.primitives.Longs
-
Sorts the elements of
arrayin descending order. - sortDescending(long[]) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Sorts the elements of
arrayin descending order, interpreting them as unsigned 64-bit integers. - sortDescending(long[], int, int) - Static method in class dev.mccue.guava.primitives.Longs
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - sortDescending(long[], int, int) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order, interpreting them as unsigned 64-bit integers. - sortDescending(short[]) - Static method in class dev.mccue.guava.primitives.Shorts
-
Sorts the elements of
arrayin descending order. - sortDescending(short[], int, int) - Static method in class dev.mccue.guava.primitives.Shorts
-
Sorts the elements of
arraybetweenfromIndexinclusive andtoIndexexclusive in descending order. - stream() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns a stream over the values in this array, in order.
- stream() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns a stream over the values in this array, in order.
- stream() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns a stream over the values in this array, in order.
- stringConverter() - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns a serializable converter object that converts between strings and doubles using
Double.valueOf(java.lang.String)andDouble.toString(). - stringConverter() - Static method in class dev.mccue.guava.primitives.Floats
-
Returns a serializable converter object that converts between strings and floats using
Float.valueOf(java.lang.String)andFloat.toString(). - stringConverter() - Static method in class dev.mccue.guava.primitives.Ints
-
Returns a serializable converter object that converts between strings and integers using
Integer.decode(java.lang.String)andInteger.toString(). - stringConverter() - Static method in class dev.mccue.guava.primitives.Longs
-
Returns a serializable converter object that converts between strings and longs using
Long.decode(java.lang.String)andLong.toString(). - stringConverter() - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns a serializable converter object that converts between strings and shorts using
Short.decode(java.lang.String)andShort.toString(). - subArray(int, int) - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns a new immutable array containing the values in the specified range.
- subArray(int, int) - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns a new immutable array containing the values in the specified range.
- subArray(int, int) - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns a new immutable array containing the values in the specified range.
T
- times(UnsignedInteger) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns the result of multiplying this and
val. - times(UnsignedLong) - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns the result of multiplying this and
val. - toArray() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns a new, mutable copy of this array's values, as a primitive
double[]. - toArray() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns a new, mutable copy of this array's values, as a primitive
int[]. - toArray() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns a new, mutable copy of this array's values, as a primitive
long[]. - toArray(Collection<? extends Number>) - Static method in class dev.mccue.guava.primitives.Bytes
-
Returns an array containing each value of
collection, converted to abytevalue in the manner ofNumber.byteValue(). - toArray(Collection<? extends Number>) - Static method in class dev.mccue.guava.primitives.Doubles
-
Returns an array containing each value of
collection, converted to adoublevalue in the manner ofNumber.doubleValue(). - toArray(Collection<? extends Number>) - Static method in class dev.mccue.guava.primitives.Floats
-
Returns an array containing each value of
collection, converted to afloatvalue in the manner ofNumber.floatValue(). - toArray(Collection<? extends Number>) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns an array containing each value of
collection, converted to aintvalue in the manner ofNumber.intValue(). - toArray(Collection<? extends Number>) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns an array containing each value of
collection, converted to alongvalue in the manner ofNumber.longValue(). - toArray(Collection<? extends Number>) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns an array containing each value of
collection, converted to ashortvalue in the manner ofNumber.shortValue(). - toArray(Collection<Boolean>) - Static method in class dev.mccue.guava.primitives.Booleans
-
Copies a collection of
Booleaninstances into a new array of primitivebooleanvalues. - toArray(Collection<Character>) - Static method in class dev.mccue.guava.primitives.Chars
-
Copies a collection of
Characterinstances into a new array of primitivecharvalues. - toByteArray(char) - Static method in class dev.mccue.guava.primitives.Chars
-
Returns a big-endian representation of
valuein a 2-element byte array; equivalent toByteBuffer.allocate(2).putChar(value).array(). - toByteArray(int) - Static method in class dev.mccue.guava.primitives.Ints
-
Returns a big-endian representation of
valuein a 4-element byte array; equivalent toByteBuffer.allocate(4).putInt(value).array(). - toByteArray(long) - Static method in class dev.mccue.guava.primitives.Longs
-
Returns a big-endian representation of
valuein an 8-element byte array; equivalent toByteBuffer.allocate(8).putLong(value).array(). - toByteArray(short) - Static method in class dev.mccue.guava.primitives.Shorts
-
Returns a big-endian representation of
valuein a 2-element byte array; equivalent toByteBuffer.allocate(2).putShort(value).array(). - toInt(byte) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns the value of the given byte as an integer, when treated as unsigned.
- toLong(int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns the value of the given
intas along, when treated as unsigned. - toString() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns a string representation of this array in the same form as
Arrays.toString(double[]), for example"[1, 2, 3]". - toString() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns a string representation of this array in the same form as
Arrays.toString(int[]), for example"[1, 2, 3]". - toString() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns a string representation of this array in the same form as
Arrays.toString(long[]), for example"[1, 2, 3]". - toString() - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns a string representation of the
UnsignedIntegervalue, in base 10. - toString() - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns a string representation of the
UnsignedLongvalue, in base 10. - toString(byte) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns a string representation of x, where x is treated as unsigned.
- toString(byte, int) - Static method in class dev.mccue.guava.primitives.UnsignedBytes
-
Returns a string representation of
xfor the given radix, wherexis treated as unsigned. - toString(int) - Method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns a string representation of the
UnsignedIntegervalue, in baseradix. - toString(int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns a string representation of x, where x is treated as unsigned.
- toString(int) - Method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns a string representation of the
UnsignedLongvalue, in baseradix. - toString(int, int) - Static method in class dev.mccue.guava.primitives.UnsignedInts
-
Returns a string representation of
xfor the given radix, wherexis treated as unsigned. - toString(long) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns a string representation of x, where x is treated as unsigned.
- toString(long, int) - Static method in class dev.mccue.guava.primitives.UnsignedLongs
-
Returns a string representation of
xfor the given radix, wherexis treated as unsigned. - trimmed() - Method in class dev.mccue.guava.primitives.ImmutableDoubleArray
-
Returns an immutable array containing the same values as
thisarray. - trimmed() - Method in class dev.mccue.guava.primitives.ImmutableIntArray
-
Returns an immutable array containing the same values as
thisarray. - trimmed() - Method in class dev.mccue.guava.primitives.ImmutableLongArray
-
Returns an immutable array containing the same values as
thisarray. - trueFirst() - Static method in class dev.mccue.guava.primitives.Booleans
-
Returns a
Comparator<Boolean>that sortstruebeforefalse. - tryParse(String) - Static method in class dev.mccue.guava.primitives.Doubles
-
Parses the specified string as a double-precision floating point value.
- tryParse(String) - Static method in class dev.mccue.guava.primitives.Floats
-
Parses the specified string as a single-precision floating point value.
- tryParse(String) - Static method in class dev.mccue.guava.primitives.Ints
-
Parses the specified string as a signed decimal integer value.
- tryParse(String) - Static method in class dev.mccue.guava.primitives.Longs
-
Parses the specified string as a signed decimal long value.
- tryParse(String, int) - Static method in class dev.mccue.guava.primitives.Ints
-
Parses the specified string as a signed integer value using the specified radix.
- tryParse(String, int) - Static method in class dev.mccue.guava.primitives.Longs
-
Parses the specified string as a signed long value using the specified radix.
U
- UnsignedBytes - Class in dev.mccue.guava.primitives
-
Static utility methods pertaining to
byteprimitives that interpret values as unsigned (that is, any negative valuebis treated as the positive value256 + b). - UnsignedInteger - Class in dev.mccue.guava.primitives
-
A wrapper class for unsigned
intvalues, supporting arithmetic operations. - UnsignedInts - Class in dev.mccue.guava.primitives
-
Static utility methods pertaining to
intprimitives that interpret values as unsigned (that is, any negative valuexis treated as the positive value2^32 + x). - UnsignedLong - Class in dev.mccue.guava.primitives
-
A wrapper class for unsigned
longvalues, supporting arithmetic operations. - UnsignedLongs - Class in dev.mccue.guava.primitives
-
Static utility methods pertaining to
longprimitives that interpret values as unsigned (that is, any negative valuexis treated as the positive value2^64 + x). - unwrap(Class<T>) - Static method in class dev.mccue.guava.primitives.Primitives
-
Returns the corresponding primitive type of
typeif it is a wrapper type; otherwise returnstypeitself.
V
- valueOf(long) - Static method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns an
UnsignedIntegerthat is equal tovalue, if possible. - valueOf(long) - Static method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns an
UnsignedLongrepresenting the same value as the specifiedlong. - valueOf(String) - Static method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns an
UnsignedIntegerholding the value of the specifiedString, parsed as an unsignedintvalue. - valueOf(String) - Static method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns an
UnsignedLongholding the value of the specifiedString, parsed as an unsignedlongvalue. - valueOf(String, int) - Static method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns an
UnsignedIntegerholding the value of the specifiedString, parsed as an unsignedintvalue in the specified radix. - valueOf(String, int) - Static method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns an
UnsignedLongholding the value of the specifiedString, parsed as an unsignedlongvalue in the specified radix. - valueOf(BigInteger) - Static method in class dev.mccue.guava.primitives.UnsignedInteger
-
Returns a
UnsignedIntegerrepresenting the same value as the specifiedBigInteger. - valueOf(BigInteger) - Static method in class dev.mccue.guava.primitives.UnsignedLong
-
Returns a
UnsignedLongrepresenting the same value as the specifiedBigInteger.
W
- wrap(Class<T>) - Static method in class dev.mccue.guava.primitives.Primitives
-
Returns the corresponding wrapper type of
typeif it is a primitive type; otherwise returnstypeitself.
Z
- ZERO - Static variable in class dev.mccue.guava.primitives.UnsignedInteger
- ZERO - Static variable in class dev.mccue.guava.primitives.UnsignedLong
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form