Package org.apache.qpid.protonj2.types
Class Decimal32
- java.lang.Object
-
- java.lang.Number
-
- org.apache.qpid.protonj2.types.Decimal32
-
- All Implemented Interfaces:
java.io.Serializable
public final class Decimal32 extends java.lang.Number
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue()
boolean
equals(java.lang.Object o)
float
floatValue()
int
getBits()
int
hashCode()
int
intValue()
long
longValue()
-
-
-
Field Detail
-
SIZE
@Native public static final int SIZE
The number of bits used to represent anDecimal128
value in two's complement binary form.- See Also:
- Constant Field Values
-
BYTES
public static final int BYTES
The number of bytes used to represent aDecimal128
value in two's complement binary form.- See Also:
- Constant Field Values
-
-
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
-
getBits
public int getBits()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-