org.apache.qpid.proton.amqp
Class Decimal32

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

public final class Decimal32
extends java.lang.Number

See Also:
Serialized Form

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

Decimal32

public Decimal32(java.math.BigDecimal underlying)

Decimal32

public Decimal32(int 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 int 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