Package org.apache.qpid.proton.amqp
Class UnsignedShort
- java.lang.Object
-
- java.lang.Number
-
- org.apache.qpid.proton.amqp.UnsignedShort
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UnsignedShort>
public final class UnsignedShort extends java.lang.Number implements java.lang.Comparable<UnsignedShort>
- 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(java.lang.Object o)floatfloatValue()inthashCode()intintValue()longlongValue()shortshortValue()java.lang.StringtoString()static UnsignedShortvalueOf(short underlying)static UnsignedShortvalueOf(java.lang.String value)
-
-
-
Field Detail
-
MAX_VALUE
public static final UnsignedShort MAX_VALUE
-
-
Method Detail
-
shortValue
public short shortValue()
- Overrides:
shortValuein classjava.lang.Number
-
intValue
public int intValue()
- Specified by:
intValuein classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValuein classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValuein classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classjava.lang.Number
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
compareTo
public int compareTo(UnsignedShort o)
- Specified by:
compareToin interfacejava.lang.Comparable<UnsignedShort>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
valueOf
public static UnsignedShort valueOf(short underlying)
-
valueOf
public static UnsignedShort valueOf(java.lang.String value)
-
-