Interface IdentityComparable

    • Method Detail

      • isIdentical

        boolean isIdentical​(IdentityComparable other)
        Determine whether two IdentityComparable objects are identical. This is a stronger test than equality (even schema-equality); for example two dateTime values are not identical unless they are in the same timezone.
        other - the value to be compared with
        true if the two values are indentical, false otherwise
      • identityHashCode

        int identityHashCode()
        Get a hashCode that offers the guarantee that if A.isIdentical(B), then A.identityHashCode() == B.identityHashCode()
        a hashCode suitable for use when testing for identity.