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()doubledoubleValue()booleanequals(java.lang.Object o)floatfloatValue()longgetLeastSignificantBits()longgetMostSignificantBits()inthashCode()intintValue()longlongValue()
-
-
-
Method Detail
-
intValue
public int intValue()
- Specified by:
intValuein classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValuein classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValuein classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classjava.lang.Number
-
getMostSignificantBits
public long getMostSignificantBits()
-
getLeastSignificantBits
public long getLeastSignificantBits()
-
asBytes
public byte[] asBytes()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-