Class Decimal128

    • Field Detail

      • SIZE

        @Native
        public static final int SIZE
        The number of bits used to represent an Decimal128 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 a Decimal128 value in two's complement binary form.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Decimal128

        public Decimal128​(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 Number
      • longValue

        public long longValue()
        Specified by:
        longValue in class Number
      • floatValue

        public float floatValue()
        Specified by:
        floatValue in class Number
      • doubleValue

        public double doubleValue()
        Specified by:
        doubleValue in class Number
      • getMostSignificantBits

        public long getMostSignificantBits()
      • getLeastSignificantBits

        public long getLeastSignificantBits()
      • asBytes

        public byte[] asBytes()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object