Uses of Class
com.google.common.primitives.UnsignedInteger
-
Packages that use UnsignedInteger Package Description com.google.common.primitives Static utilities for the eight primitive types andvoid
, and value types for treating them as unsigned or storing them in immutable arrays. -
-
Uses of UnsignedInteger in com.google.common.primitives
Fields in com.google.common.primitives declared as UnsignedInteger Modifier and Type Field Description static UnsignedInteger
UnsignedInteger. MAX_VALUE
static UnsignedInteger
UnsignedInteger. ONE
static UnsignedInteger
UnsignedInteger. ZERO
Methods in com.google.common.primitives that return UnsignedInteger Modifier and Type Method Description UnsignedInteger
UnsignedInteger. dividedBy(UnsignedInteger val)
Returns the result of dividing this byval
.static UnsignedInteger
UnsignedInteger. fromIntBits(int bits)
Returns anUnsignedInteger
corresponding to a given bit representation.UnsignedInteger
UnsignedInteger. minus(UnsignedInteger val)
Returns the result of subtracting this andval
.UnsignedInteger
UnsignedInteger. mod(UnsignedInteger val)
Returns this modval
.UnsignedInteger
UnsignedInteger. plus(UnsignedInteger val)
Returns the result of adding this andval
.UnsignedInteger
UnsignedInteger. times(UnsignedInteger val)
Returns the result of multiplying this andval
.static UnsignedInteger
UnsignedInteger. valueOf(long value)
Returns anUnsignedInteger
that is equal tovalue
, if possible.static UnsignedInteger
UnsignedInteger. valueOf(java.lang.String string)
Returns anUnsignedInteger
holding the value of the specifiedString
, parsed as an unsignedint
value.static UnsignedInteger
UnsignedInteger. valueOf(java.lang.String string, int radix)
Returns anUnsignedInteger
holding the value of the specifiedString
, parsed as an unsignedint
value in the specified radix.static UnsignedInteger
UnsignedInteger. valueOf(java.math.BigInteger value)
Returns aUnsignedInteger
representing the same value as the specifiedBigInteger
.Methods in com.google.common.primitives with parameters of type UnsignedInteger Modifier and Type Method 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 byval
.UnsignedInteger
UnsignedInteger. minus(UnsignedInteger val)
Returns the result of subtracting this andval
.UnsignedInteger
UnsignedInteger. mod(UnsignedInteger val)
Returns this modval
.UnsignedInteger
UnsignedInteger. plus(UnsignedInteger val)
Returns the result of adding this andval
.UnsignedInteger
UnsignedInteger. times(UnsignedInteger val)
Returns the result of multiplying this andval
.
-