| 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 UnsignedLong |
UnsignedLong.MAX_VALUE
|
static UnsignedLong |
UnsignedLong.ONE
|
static UnsignedLong |
UnsignedLong.ZERO
|
| Modifier and Type | Method and Description |
|---|---|
UnsignedLong |
UnsignedLong.dividedBy(UnsignedLong
Returns the result of dividing this by
val.
|
static UnsignedLong |
UnsignedLong.fromLongBits(long bits)
Returns an
UnsignedLong corresponding to a given bit representation.
|
UnsignedLong |
UnsignedLong.minus(UnsignedLong
Returns the result of subtracting this and
val.
|
UnsignedLong |
UnsignedLong.mod(UnsignedLong
Returns this modulo
val.
|
UnsignedLong |
UnsignedLong.plus(UnsignedLong
Returns the result of adding this and
val.
|
UnsignedLong |
UnsignedLong.times(UnsignedLong
Returns the result of multiplying this and
val.
|
static UnsignedLong |
UnsignedLong.valueOf(BigInteger
Returns a
UnsignedLong representing the same value as the specified
BigInteger.
|
static UnsignedLong |
UnsignedLong.valueOf(long value)
Returns an
UnsignedLong representing the same value as the specified
long.
|
static UnsignedLong |
UnsignedLong.valueOf(String
Returns an
UnsignedLong holding the value of the specified
String, parsed as an unsigned
long value.
|
static UnsignedLong |
UnsignedLong.valueOf(String
Returns an
UnsignedLong holding the value of the specified
String, parsed as an unsigned
long value in the specified radix.
|
| Modifier and Type | Method and Description |
|---|---|
int |
UnsignedLong.compareTo(UnsignedLong
|
UnsignedLong |
UnsignedLong.dividedBy(UnsignedLong
Returns the result of dividing this by
val.
|
UnsignedLong |
UnsignedLong.minus(UnsignedLong
Returns the result of subtracting this and
val.
|
UnsignedLong |
UnsignedLong.mod(UnsignedLong
Returns this modulo
val.
|
UnsignedLong |
UnsignedLong.plus(UnsignedLong
Returns the result of adding this and
val.
|
UnsignedLong |
UnsignedLong.times(UnsignedLong
Returns the result of multiplying this and
val.
|