Class Decimal128

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Decimal128>

    public final class Decimal128
    extends java.lang.Number
    implements java.io.Serializable, java.lang.Comparable<Decimal128>
    See Also:
    Serialized Form
    • Field Detail

      • POSITIVE_ZERO

        public static final Decimal128 POSITIVE_ZERO
      • NEGATIVE_ZERO

        public static final Decimal128 NEGATIVE_ZERO
      • POSITIVE_INFINITY

        public static final Decimal128 POSITIVE_INFINITY
      • NEGATIVE_INFINITY

        public static final Decimal128 NEGATIVE_INFINITY
    • Constructor Detail

      • Decimal128

        public Decimal128​(long low,
                          long high)
    • Method Detail

      • getLow

        public long getLow()
      • getHigh

        public long getHigh()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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
      • compareTo

        public int compareTo​(Decimal128 o)
        Specified by:
        compareTo in interface java.lang.Comparable<Decimal128>