org.apache.qpid.proton.amqp
Class Decimal128

java.lang.Object
  extended by java.lang.Number
      extended by 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
Decimal128(java.math.BigDecimal underlying)
           
Decimal128(byte[] data)
           
Decimal128(long msb, long lsb)
           
 
Method Summary
 byte[] asBytes()
           
 double doubleValue()
           
 boolean equals(java.lang.Object o)
           
 float floatValue()
           
 long getLeastSignificantBits()
           
 long getMostSignificantBits()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decimal128

public Decimal128(java.math.BigDecimal underlying)

Decimal128

public Decimal128(long msb,
                  long lsb)

Decimal128

public Decimal128(byte[] data)
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

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.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 class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object