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 val)
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 val)
Returns the result of subtracting this and
val . |
UnsignedLong |
UnsignedLong.mod(UnsignedLong val)
Returns this modulo
val . |
UnsignedLong |
UnsignedLong.plus(UnsignedLong val)
Returns the result of adding this and
val . |
UnsignedLong |
UnsignedLong.times(UnsignedLong val)
Returns the result of multiplying this and
val . |
static UnsignedLong |
UnsignedLong.valueOf(BigInteger value)
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 string)
Returns an
UnsignedLong holding the value of the specified String , parsed as an
unsigned long value. |
static UnsignedLong |
UnsignedLong.valueOf(String string,
int radix)
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 o) |
UnsignedLong |
UnsignedLong.dividedBy(UnsignedLong val)
Returns the result of dividing this by
val . |
UnsignedLong |
UnsignedLong.minus(UnsignedLong val)
Returns the result of subtracting this and
val . |
UnsignedLong |
UnsignedLong.mod(UnsignedLong val)
Returns this modulo
val . |
UnsignedLong |
UnsignedLong.plus(UnsignedLong val)
Returns the result of adding this and
val . |
UnsignedLong |
UnsignedLong.times(UnsignedLong val)
Returns the result of multiplying this and
val . |
Copyright © 2010–2017. All rights reserved.