Class BigIntegerValue.BigIntegerComparable

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

    protected static class BigIntegerValue.BigIntegerComparable
    extends java.lang.Object
    implements java.lang.Comparable
    A Comparable that performs comparison of BigInteger values either with other BigInteger values or with other representations of XPath numeric values
    • Constructor Detail

      • BigIntegerComparable

        public BigIntegerComparable​(BigIntegerValue value)
    • Method Detail

      • asBigInteger

        public java.math.BigInteger asBigInteger()
      • 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