Package org.apache.qpid.proton.amqp
Class Decimal128
- java.lang.Object
-
- java.lang.Number
-
- org.apache.qpid.proton.amqp.Decimal128
-
- All Implemented Interfaces:
java.io.Serializable
public final class Decimal128 extends java.lang.Number
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Decimal128(byte[] data)
Decimal128(long msb, long lsb)
Decimal128(java.math.BigDecimal underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
asBytes()
double
doubleValue()
boolean
equals(java.lang.Object o)
float
floatValue()
long
getLeastSignificantBits()
long
getMostSignificantBits()
int
hashCode()
int
intValue()
long
longValue()
-
-
-
Method Detail
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
getMostSignificantBits
public long getMostSignificantBits()
-
getLeastSignificantBits
public long getLeastSignificantBits()
-
asBytes
public byte[] asBytes()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-