Package com.rabbitmq.stream.amqp
Class UnsignedShort
- java.lang.Object
-
- java.lang.Number
-
- com.rabbitmq.stream.amqp.UnsignedShort
-
- All Implemented Interfaces:
Serializable,Comparable<UnsignedShort>
public final class UnsignedShort extends Number implements Comparable<UnsignedShort>
This code is based on QPid Proton'sUnsignedShortclass.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static UnsignedShortMAX_VALUE
-
Constructor Summary
Constructors Constructor Description UnsignedShort(short underlying)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(UnsignedShort o)doubledoubleValue()booleanequals(Object o)floatfloatValue()inthashCode()intintValue()longlongValue()shortshortValue()StringtoString()static UnsignedShortvalueOf(short underlying)static UnsignedShortvalueOf(String value)
-
-
-
Field Detail
-
MAX_VALUE
public static final UnsignedShort MAX_VALUE
-
-
Method Detail
-
valueOf
public static UnsignedShort valueOf(short underlying)
-
valueOf
public static UnsignedShort valueOf(String value)
-
shortValue
public short shortValue()
- Overrides:
shortValuein classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
compareTo
public int compareTo(UnsignedShort o)
- Specified by:
compareToin interfaceComparable<UnsignedShort>
-
-