Uses of Class
com.google.common.primitives.UnsignedInteger
Packages that use UnsignedInteger
Package
Description
Static utilities for the eight primitive types and
void
, and value types for treating
them as unsigned or storing them in immutable arrays.-
Uses of UnsignedInteger in com.google.common.primitives
Classes in com.google.common.primitives that implement interfaces with type arguments of type UnsignedIntegerModifier and TypeClassDescriptionfinal class
A wrapper class for unsignedint
values, supporting arithmetic operations.Fields in com.google.common.primitives declared as UnsignedIntegerModifier and TypeFieldDescriptionstatic final UnsignedInteger
UnsignedInteger.MAX_VALUE
static final UnsignedInteger
UnsignedInteger.ONE
static final UnsignedInteger
UnsignedInteger.ZERO
Methods in com.google.common.primitives that return UnsignedIntegerModifier and TypeMethodDescriptionUnsignedInteger.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.minus
(UnsignedInteger val) Returns the result of subtracting this andval
.UnsignedInteger.mod
(UnsignedInteger val) Returns this modval
.UnsignedInteger.plus
(UnsignedInteger val) Returns the result of adding this andval
.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
Returns anUnsignedInteger
holding the value of the specifiedString
, parsed as an unsignedint
value.static UnsignedInteger
Returns anUnsignedInteger
holding the value of the specifiedString
, parsed as an unsignedint
value in the specified radix.static UnsignedInteger
UnsignedInteger.valueOf
(BigInteger value) Returns aUnsignedInteger
representing the same value as the specifiedBigInteger
.Methods in com.google.common.primitives with parameters of type UnsignedIntegerModifier and TypeMethodDescriptionint
UnsignedInteger.compareTo
(UnsignedInteger other) Compares this unsigned integer to another unsigned integer.UnsignedInteger.dividedBy
(UnsignedInteger val) Returns the result of dividing this byval
.UnsignedInteger.minus
(UnsignedInteger val) Returns the result of subtracting this andval
.UnsignedInteger.mod
(UnsignedInteger val) Returns this modval
.UnsignedInteger.plus
(UnsignedInteger val) Returns the result of adding this andval
.UnsignedInteger.times
(UnsignedInteger val) Returns the result of multiplying this andval
.