Package com.rabbitmq.stream.amqp
Class UnsignedLong
- java.lang.Object
-
- java.lang.Number
-
- com.rabbitmq.stream.amqp.UnsignedLong
-
- All Implemented Interfaces:
Serializable,Comparable<UnsignedLong>
public final class UnsignedLong extends Number implements Comparable<UnsignedLong>
This code is based on QPid Proton'sUnsignedLongclass.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static UnsignedLongZERO
-
Constructor Summary
Constructors Constructor Description UnsignedLong(long underlying)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegerbigIntegerValue()intcompareTo(UnsignedLong o)doubledoubleValue()booleanequals(Object o)floatfloatValue()inthashCode()intintValue()longlongValue()StringtoString()static UnsignedLongvalueOf(long underlying)static UnsignedLongvalueOf(String value)static UnsignedLongvalueOf(BigInteger bigInt)-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Field Detail
-
ZERO
public static final UnsignedLong ZERO
-
-
Method Detail
-
valueOf
public static UnsignedLong valueOf(long underlying)
-
valueOf
public static UnsignedLong valueOf(String value)
-
valueOf
public static UnsignedLong valueOf(BigInteger bigInt)
-
bigIntegerValue
public BigInteger bigIntegerValue()
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
compareTo
public int compareTo(UnsignedLong o)
- Specified by:
compareToin interfaceComparable<UnsignedLong>
-
-