org.apache.qpid.proton.amqp
Class Decimal64

java.lang.Object
  extended by java.lang.Number
      extended by org.apache.qpid.proton.amqp.Decimal64
All Implemented Interfaces:
java.io.Serializable

public final class Decimal64
extends java.lang.Number

See Also:
Serialized Form

Constructor Summary
Decimal64(java.math.BigDecimal underlying)
           
Decimal64(long bits)
           
 
Method Summary
 double doubleValue()
           
 boolean equals(java.lang.Object o)
           
 float floatValue()
           
 long getBits()
           
 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

Decimal64

public Decimal64(java.math.BigDecimal underlying)

Decimal64

public Decimal64(long bits)
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

getBits

public long getBits()

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