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)
Deprecated.
Use
plus(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
static UnsignedLong |
UnsignedLong.asUnsigned(long value)
Deprecated.
Use
fromLongBits(long) . This method is scheduled to be removed in Guava
release 15.0. |
UnsignedLong |
UnsignedLong.divide(UnsignedLong val)
Deprecated.
Use
dividedBy(UnsignedLong) . This method is scheduled to be removed in
Guava release 15.0. |
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.multiply(UnsignedLong val)
Deprecated.
Use
times(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
UnsignedLong |
UnsignedLong.plus(UnsignedLong val)
Returns the result of adding this and
val . |
UnsignedLong |
UnsignedLong.remainder(UnsignedLong val)
Deprecated.
Use
mod(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
UnsignedLong |
UnsignedLong.subtract(UnsignedLong val)
Deprecated.
Use
minus(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
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 |
---|---|
UnsignedLong |
UnsignedLong.add(UnsignedLong val)
Deprecated.
Use
plus(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
int |
UnsignedLong.compareTo(UnsignedLong o) |
UnsignedLong |
UnsignedLong.divide(UnsignedLong val)
Deprecated.
Use
dividedBy(UnsignedLong) . This method is scheduled to be removed in
Guava release 15.0. |
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.multiply(UnsignedLong val)
Deprecated.
Use
times(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
UnsignedLong |
UnsignedLong.plus(UnsignedLong val)
Returns the result of adding this and
val . |
UnsignedLong |
UnsignedLong.remainder(UnsignedLong val)
Deprecated.
Use
mod(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
UnsignedLong |
UnsignedLong.subtract(UnsignedLong val)
Deprecated.
Use
minus(UnsignedLong) . This method is scheduled to be removed in Guava
release 15.0. |
UnsignedLong |
UnsignedLong.times(UnsignedLong val)
Returns the result of multiplying this and
val . |
Copyright © 2010-2013. All Rights Reserved.