Uses of Class
com.google.common.primitives.UnsignedLong
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 UnsignedLong in com.google.common.primitives
Modifier and TypeClassDescriptionfinal class
A wrapper class for unsignedlong
values, supporting arithmetic operations.Modifier and TypeFieldDescriptionstatic final UnsignedLong
UnsignedLong.MAX_VALUE
static final UnsignedLong
UnsignedLong.ONE
static final UnsignedLong
UnsignedLong.ZERO
Modifier and TypeMethodDescriptionUnsignedLong.dividedBy
(UnsignedLong val) Returns the result of dividing this byval
.static UnsignedLong
UnsignedLong.fromLongBits
(long bits) Returns anUnsignedLong
corresponding to a given bit representation.UnsignedLong.minus
(UnsignedLong val) Returns the result of subtracting this andval
.UnsignedLong.mod
(UnsignedLong val) Returns this moduloval
.UnsignedLong.plus
(UnsignedLong val) Returns the result of adding this andval
.UnsignedLong.times
(UnsignedLong val) Returns the result of multiplying this andval
.static UnsignedLong
UnsignedLong.valueOf
(long value) Returns anUnsignedLong
representing the same value as the specifiedlong
.static UnsignedLong
Returns anUnsignedLong
holding the value of the specifiedString
, parsed as an unsignedlong
value.static UnsignedLong
Returns anUnsignedLong
holding the value of the specifiedString
, parsed as an unsignedlong
value in the specified radix.static UnsignedLong
UnsignedLong.valueOf
(BigInteger value) Returns aUnsignedLong
representing the same value as the specifiedBigInteger
.Modifier and TypeMethodDescriptionint
UnsignedLong.compareTo
(UnsignedLong o) UnsignedLong.dividedBy
(UnsignedLong val) Returns the result of dividing this byval
.UnsignedLong.minus
(UnsignedLong val) Returns the result of subtracting this andval
.UnsignedLong.mod
(UnsignedLong val) Returns this moduloval
.UnsignedLong.plus
(UnsignedLong val) Returns the result of adding this andval
.UnsignedLong.times
(UnsignedLong val) Returns the result of multiplying this andval
.