Package com.rabbitmq.stream.amqp
Class UnsignedShort
java.lang.Object
java.lang.Number
com.rabbitmq.stream.amqp.UnsignedShort
- All Implemented Interfaces:
Serializable
,Comparable<UnsignedShort>
This code is based on QPid Proton's
UnsignedShort
class.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
double
boolean
float
int
hashCode()
int
intValue()
long
short
toString()
static UnsignedShort
valueOf
(short underlying) static UnsignedShort
-
Field Details
-
MAX_VALUE
-
-
Constructor Details
-
UnsignedShort
public UnsignedShort(short underlying)
-
-
Method Details
-
valueOf
-
valueOf
-
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-
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<UnsignedShort>
-
hashCode
public int hashCode() -
toString
-