| 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.add(UnsignedInteger val)
Deprecated.
Use
plus(UnsignedInteger). This method is scheduled to be removed in Guava
release 15.0. |
static UnsignedInteger |
UnsignedInteger.asUnsigned(int value)
Deprecated.
Use
fromIntBits(int). This method is scheduled to be removed in Guava
release 15.0. |
UnsignedInteger |
UnsignedInteger.divide(UnsignedInteger val)
Deprecated.
Use
dividedBy(UnsignedInteger). This method is scheduled to be removed in
Guava release 15.0. |
UnsignedInteger |
UnsignedInteger.dividedBy(UnsignedInteger val)
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 val)
Returns the result of subtracting this and
val. |
UnsignedInteger |
UnsignedInteger.mod(UnsignedInteger val)
Returns this mod
val. |
UnsignedInteger |
UnsignedInteger.multiply(UnsignedInteger val)
Deprecated.
Use
times(UnsignedInteger). This method is scheduled to be removed in
Guava release 15.0. |
UnsignedInteger |
UnsignedInteger.plus(UnsignedInteger val)
Returns the result of adding this and
val. |
UnsignedInteger |
UnsignedInteger.remainder(UnsignedInteger val)
Deprecated.
Use
mod(UnsignedInteger). This method is scheduled to be removed in Guava
release 15.0. |
UnsignedInteger |
UnsignedInteger.subtract(UnsignedInteger val)
Deprecated.
Use
minus(UnsignedInteger). This method is scheduled to be removed in
Guava release 15.0. |
UnsignedInteger |
UnsignedInteger.times(UnsignedInteger val)
Returns the result of multiplying this and
val. |
static UnsignedInteger |
UnsignedInteger.valueOf(BigInteger value)
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 string)
Returns an
UnsignedInteger holding the value of the specified String, parsed
as an unsigned int value. |
static UnsignedInteger |
UnsignedInteger.valueOf(String string,
int radix)
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 |
|---|---|
UnsignedInteger |
UnsignedInteger.add(UnsignedInteger val)
Deprecated.
Use
plus(UnsignedInteger). This method is scheduled to be removed in Guava
release 15.0. |
int |
UnsignedInteger.compareTo(UnsignedInteger other)
Compares this unsigned integer to another unsigned integer.
|
UnsignedInteger |
UnsignedInteger.divide(UnsignedInteger val)
Deprecated.
Use
dividedBy(UnsignedInteger). This method is scheduled to be removed in
Guava release 15.0. |
UnsignedInteger |
UnsignedInteger.dividedBy(UnsignedInteger val)
Returns the result of dividing this by
val. |
UnsignedInteger |
UnsignedInteger.minus(UnsignedInteger val)
Returns the result of subtracting this and
val. |
UnsignedInteger |
UnsignedInteger.mod(UnsignedInteger val)
Returns this mod
val. |
UnsignedInteger |
UnsignedInteger.multiply(UnsignedInteger val)
Deprecated.
Use
times(UnsignedInteger). This method is scheduled to be removed in
Guava release 15.0. |
UnsignedInteger |
UnsignedInteger.plus(UnsignedInteger val)
Returns the result of adding this and
val. |
UnsignedInteger |
UnsignedInteger.remainder(UnsignedInteger val)
Deprecated.
Use
mod(UnsignedInteger). This method is scheduled to be removed in Guava
release 15.0. |
UnsignedInteger |
UnsignedInteger.subtract(UnsignedInteger val)
Deprecated.
Use
minus(UnsignedInteger). This method is scheduled to be removed in
Guava release 15.0. |
UnsignedInteger |
UnsignedInteger.times(UnsignedInteger val)
Returns the result of multiplying this and
val. |
Copyright © 2010-2013. All Rights Reserved.