| Package | Description |
|---|---|
| com.google.common.primitives |
Static utilities for working with the eight primitive types and
void, and value types for treating them as unsigned.
|
| Modifier and Type | Field and Description |
|---|---|
static UnsignedInteger |
UnsignedInteger.MAX_VALUE
|
static UnsignedInteger |
UnsignedInteger.ONE
|
static UnsignedInteger |
UnsignedInteger.ZERO
|
| Modifier and Type | Method and Description |
|---|---|
UnsignedInteger |
UnsignedInteger.dividedBy(UnsignedInteger
Returns the result of dividing this by
val.
|
static UnsignedInteger |
UnsignedInteger.fromIntBits(int bits)
Returns an
UnsignedInteger corresponding to a given bit representation.
|
UnsignedInteger |
UnsignedInteger.minus(UnsignedInteger
Returns the result of subtracting this and
val.
|
UnsignedInteger |
UnsignedInteger.mod(UnsignedInteger
Returns this mod
val.
|
UnsignedInteger |
UnsignedInteger.plus(UnsignedInteger
Returns the result of adding this and
val.
|
UnsignedInteger |
UnsignedInteger.times(UnsignedInteger
Returns the result of multiplying this and
val.
|
static UnsignedInteger |
UnsignedInteger.valueOf(BigInteger
Returns a
UnsignedInteger representing the same value as the specified
BigInteger.
|
static UnsignedInteger |
UnsignedInteger.valueOf(long value)
Returns an
UnsignedInteger that is equal to
value, if possible.
|
static UnsignedInteger |
UnsignedInteger.valueOf(String
Returns an
UnsignedInteger holding the value of the specified
String, parsed as an unsigned
int value.
|
static UnsignedInteger |
UnsignedInteger.valueOf(String
Returns an
UnsignedInteger holding the value of the specified
String, parsed as an unsigned
int value in the specified radix.
|
| Modifier and Type | Method and Description |
|---|---|
int |
UnsignedInteger.compareTo(UnsignedInteger
Compares this unsigned integer to another unsigned integer.
|
UnsignedInteger |
UnsignedInteger.dividedBy(UnsignedInteger
Returns the result of dividing this by
val.
|
UnsignedInteger |
UnsignedInteger.minus(UnsignedInteger
Returns the result of subtracting this and
val.
|
UnsignedInteger |
UnsignedInteger.mod(UnsignedInteger
Returns this mod
val.
|
UnsignedInteger |
UnsignedInteger.plus(UnsignedInteger
Returns the result of adding this and
val.
|
UnsignedInteger |
UnsignedInteger.times(UnsignedInteger
Returns the result of multiplying this and
val.
|