@ParametersAreNonnullByDefault @CheckReturnValue
void
, and value types for
treating them as unsigned.See: Description
Class | Description |
---|---|
Booleans | |
Bytes | |
Chars | |
Doubles | |
Floats | |
ImmutableDoubleArray |
An immutable array of
double values, with an API resembling List . |
ImmutableDoubleArray.Builder |
A builder for
ImmutableDoubleArray instances; obtained using ImmutableDoubleArray.builder(int) . |
ImmutableIntArray |
An immutable array of
int values, with an API resembling List . |
ImmutableIntArray.Builder |
A builder for
ImmutableIntArray instances; obtained using ImmutableIntArray.builder(int) . |
ImmutableLongArray |
An immutable array of
long values, with an API resembling List . |
ImmutableLongArray.Builder |
A builder for
ImmutableLongArray instances; obtained using ImmutableLongArray.builder(int) . |
Ints | |
Longs | |
Primitives |
Contains static utility methods pertaining to primitive types and their corresponding wrapper
types.
|
Shorts | |
SignedBytes |
Static utility methods pertaining to
byte primitives that interpret values as signed. |
UnsignedBytes |
Static utility methods pertaining to
byte primitives that interpret values as
unsigned (that is, any negative value b is treated as the positive value 256 + b ). |
UnsignedInteger |
A wrapper class for unsigned
int values, supporting arithmetic operations. |
UnsignedInts |
Static utility methods pertaining to
int primitives that interpret values as
unsigned (that is, any negative value x is treated as the positive value 2^32 + x ). |
UnsignedLong |
A wrapper class for unsigned
long values, supporting arithmetic operations. |
UnsignedLongs |
Static utility methods pertaining to
long primitives that interpret values as
unsigned (that is, any negative value x is treated as the positive value 2^64 + x ). |
void
, and value types for
treating them as unsigned.
This package is a part of the open-source Guava library.
See the Guava User Guide article on primitive utilities.
Copyright © 2010–2017. All rights reserved.