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.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.plus(UnsignedInteger val)
Returns the result of adding this and
val . |
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 |
---|---|
int |
UnsignedInteger.compareTo(UnsignedInteger other)
Compares this unsigned integer to another unsigned integer.
|
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.plus(UnsignedInteger val)
Returns the result of adding this and
val . |
UnsignedInteger |
UnsignedInteger.times(UnsignedInteger val)
Returns the result of multiplying this and
val . |
Copyright © 2010–2017. All rights reserved.