Class UnsignedInteger
java.lang.Object
java.lang.Number
com.rabbitmq.stream.amqp.UnsignedInteger
- All Implemented Interfaces:
Serializable, Comparable<UnsignedInteger>
This code is based on QPid Proton's
UnsignedInteger class.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnsignedIntegerstatic final UnsignedIntegerstatic final UnsignedInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoublebooleanfloatinthashCode()intintValue()longtoString()static UnsignedIntegervalueOf(int underlying) static UnsignedIntegervalueOf(long longVal) static UnsignedIntegerMethods inherited from class Number
byteValue, shortValue
-
Field Details
-
MAX_VALUE
-
ZERO
-
ONE
-
-
Constructor Details
-
UnsignedInteger
public UnsignedInteger(int underlying)
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
intValue
-
longValue
-
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<UnsignedInteger>
-
hashCode
-
toString
-
add
-
subtract
-