org.apache.qpid.proton.amqp
Class UnsignedByte

java.lang.Object
  extended by java.lang.Number
      extended by org.apache.qpid.proton.amqp.UnsignedByte
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UnsignedByte>

public final class UnsignedByte
extends java.lang.Number
implements java.lang.Comparable<UnsignedByte>

See Also:
Serialized Form

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

Constructor Detail

UnsignedByte

public UnsignedByte(byte underlying)
Method Detail

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(UnsignedByte o)
Specified by:
compareTo in interface java.lang.Comparable<UnsignedByte>

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

valueOf

public static UnsignedByte valueOf(byte underlying)

valueOf

public static UnsignedByte valueOf(java.lang.String value)
                            throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException