Package org.apache.qpid.proton.amqp
Class UnsignedLong
- java.lang.Object
-
- java.lang.Number
-
- 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
Fields Modifier and Type Field Description static UnsignedLong
ZERO
-
Constructor Summary
Constructors Constructor Description UnsignedLong(long underlying)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
static UnsignedLong
valueOf(java.math.BigInteger bigInt)
-
-
-
Field Detail
-
ZERO
public static final UnsignedLong ZERO
-
-
Method Detail
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
bigIntegerValue
public java.math.BigInteger bigIntegerValue()
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(UnsignedLong o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<UnsignedLong>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
valueOf
public static UnsignedLong valueOf(long underlying)
-
valueOf
public static UnsignedLong valueOf(java.lang.String value)
-
valueOf
public static UnsignedLong valueOf(java.math.BigInteger bigInt)
-
-