Package com.rabbitmq.stream.amqp
Class UnsignedLong
java.lang.Object
java.lang.Number
com.rabbitmq.stream.amqp.UnsignedLong
- All Implemented Interfaces:
Serializable
,Comparable<UnsignedLong>
This code is based on QPid Proton's
UnsignedLong
class.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
double
boolean
float
int
hashCode()
int
intValue()
long
toString()
static UnsignedLong
valueOf
(long underlying) static UnsignedLong
static UnsignedLong
valueOf
(BigInteger bigInt) Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
ZERO
-
-
Constructor Details
-
UnsignedLong
public UnsignedLong(long underlying)
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
intValue
public int intValue() -
longValue
public long longValue() -
bigIntegerValue
-
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<UnsignedLong>
-
hashCode
public int hashCode() -
toString
-