Class Int64Value.Int64Comparable

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

    protected static class Int64Value.Int64Comparable
    extends java.lang.Object
    implements java.lang.Comparable
    A Comparable that performs comparison of an Int64Value either with another Int64Value or with some other representation of an XPath numeric value
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Int64Value value  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long asLong()  
      int compareTo​(java.lang.Object o)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Int64Comparable

        public Int64Comparable​(Int64Value value)
    • Method Detail

      • asLong

        public long asLong()
      • 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