Package org.apache.qpid.protonj2.types
Class Decimal64
- java.lang.Object
-
- java.lang.Number
-
- org.apache.qpid.protonj2.types.Decimal64
-
- All Implemented Interfaces:
Serializable
public final class Decimal64 extends Number
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Decimal64(long bits)Decimal64(BigDecimal underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubledoubleValue()booleanequals(Object o)floatfloatValue()longgetBits()inthashCode()intintValue()longlongValue()-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Field Detail
-
SIZE
@Native public static final int SIZE
The number of bits used to represent anDecimal128value in two's complement binary form.- See Also:
- Constant Field Values
-
BYTES
public static final int BYTES
The number of bytes used to represent aDecimal128value in two's complement binary form.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Decimal64
public Decimal64(BigDecimal underlying)
-
Decimal64
public Decimal64(long bits)
-
-
Method Detail
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
getBits
public long getBits()
-
-