Class BigDecimalValue.DecimalComparable

  • All Implemented Interfaces:
    java.lang.Comparable
    Enclosing class:
    BigDecimalValue

    protected static class BigDecimalValue.DecimalComparable
    extends java.lang.Object
    implements java.lang.Comparable
    A Comparable that performs comparison of a DecimalValue either with another DecimalValue or with some other representation of an XPath numeric value
    • Constructor Detail

    • Method Detail

      • asBigDecimal

        public java.math.BigDecimal asBigDecimal()
      • compareTo

        public int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable
      • 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