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.add(UnsignedLong val)
Returns the result of adding this and
val . |
static UnsignedLong |
UnsignedLong.asUnsigned(long value)
Returns an
UnsignedLong that, when treated as signed, is equal to value . |
UnsignedLong |
UnsignedLong.divide(UnsignedLong val)
Returns the result of dividing this by
val . |
UnsignedLong |
UnsignedLong.multiply(UnsignedLong val)
Returns the result of multiplying this and
val . |
UnsignedLong |
UnsignedLong.remainder(UnsignedLong val)
Returns the remainder of dividing this by
val . |
UnsignedLong |
UnsignedLong.subtract(UnsignedLong val)
Returns the result of subtracting this and
val . |
static UnsignedLong |
UnsignedLong.valueOf(BigInteger value)
Returns a
UnsignedLong representing the same value as the specified BigInteger
. |
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 |
---|---|
UnsignedLong |
UnsignedLong.add(UnsignedLong val)
Returns the result of adding this and
val . |
int |
UnsignedLong.compareTo(UnsignedLong o) |
UnsignedLong |
UnsignedLong.divide(UnsignedLong val)
Returns the result of dividing this by
val . |
UnsignedLong |
UnsignedLong.multiply(UnsignedLong val)
Returns the result of multiplying this and
val . |
UnsignedLong |
UnsignedLong.remainder(UnsignedLong val)
Returns the remainder of dividing this by
val . |
UnsignedLong |
UnsignedLong.subtract(UnsignedLong val)
Returns the result of subtracting this and
val . |
Copyright © 2010–2013. All rights reserved.