org.apache.qpid.proton.amqp
Class UnsignedLong

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

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

See Also:
Serialized Form

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

Field Detail

ZERO

public static final UnsignedLong ZERO
Constructor Detail

UnsignedLong

public UnsignedLong(long underlying)
Method Detail

intValue

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

longValue

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

bigIntegerValue

public java.math.BigInteger bigIntegerValue()

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(UnsignedLong o)
Specified by:
compareTo in interface java.lang.Comparable<UnsignedLong>

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 UnsignedLong valueOf(long underlying)

valueOf

public static UnsignedLong valueOf(java.lang.String value)