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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoublebooleanfloatinthashCode()intintValue()longshorttoString()static UnsignedShortvalueOf(short underlying) static UnsignedShort
-
Field Details
-
MAX_VALUE
-
-
Constructor Details
-
UnsignedShort
public UnsignedShort(short underlying)
-
-
Method Details
-
valueOf
-
valueOf
-
shortValue
public short shortValue()- Overrides:
shortValuein classNumber
-
intValue
-
longValue
-
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<UnsignedShort>
-
hashCode
-
toString
-