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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoublebooleanfloatinthashCode()intintValue()longtoString()static UnsignedLongvalueOf(long underlying) static UnsignedLongstatic UnsignedLongvalueOf(BigInteger bigInt) Methods inherited from class Number
byteValue, shortValue
-
Field Details
-
ZERO
-
-
Constructor Details
-
UnsignedLong
public UnsignedLong(long underlying)
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
intValue
-
longValue
-
bigIntegerValue
-
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<UnsignedLong>
-
hashCode
-
toString
-