org.apache.qpid.proton.amqp
Class UnsignedShort
java.lang.Object
java.lang.Number
org.apache.qpid.proton.amqp.UnsignedShort
- All Implemented Interfaces:
- Serializable, Comparable<UnsignedShort>
public final class UnsignedShort
- extends Number
- implements Comparable<UnsignedShort>
- See Also:
- Serialized Form
MAX_VALUE
public static final UnsignedShort MAX_VALUE
UnsignedShort
public UnsignedShort(short underlying)
shortValue
public short shortValue()
- Overrides:
shortValue in class Number
intValue
public int intValue()
- Specified by:
intValue in class Number
longValue
public long longValue()
- Specified by:
longValue in class Number
floatValue
public float floatValue()
- Specified by:
floatValue in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class Number
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
compareTo
public int compareTo(UnsignedShort o)
- Specified by:
compareTo in interface Comparable<UnsignedShort>
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
valueOf
public static UnsignedShort valueOf(short underlying)
valueOf
public static UnsignedShort valueOf(String value)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.