org.apache.qpid.proton.amqp
Class UnsignedShort

java.lang.Object
  extended by java.lang.Number
      extended by 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

Field Summary
static UnsignedShort MAX_VALUE
           
 
Constructor Summary
UnsignedShort(short underlying)
           
 
Method Summary
 int compareTo(UnsignedShort o)
           
 double doubleValue()
           
 boolean equals(Object o)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 short shortValue()
           
 String toString()
           
static UnsignedShort valueOf(short underlying)
           
static UnsignedShort valueOf(String value)
           
 
Methods inherited from class java.lang.Number
byteValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final UnsignedShort MAX_VALUE
Constructor Detail

UnsignedShort

public UnsignedShort(short underlying)
Method Detail

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.