Package com.rabbitmq.stream.amqp
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
Modifier and TypeFieldDescriptionstatic final UnsignedInteger
static final UnsignedInteger
static final UnsignedInteger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
double
boolean
float
int
hashCode()
int
intValue()
long
toString()
static UnsignedInteger
valueOf
(int underlying) static UnsignedInteger
valueOf
(long longVal) static UnsignedInteger
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
MAX_VALUE
-
ZERO
-
ONE
-
-
Constructor Details
-
UnsignedInteger
public UnsignedInteger(int underlying)
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
intValue
public int intValue() -
longValue
public long longValue() -
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<UnsignedInteger>
-
hashCode
public int hashCode() -
toString
-
add
-
subtract
-