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.
        Parameters:
        other - the value to be compared with
        Returns:
        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()
        Returns:
        a hashCode suitable for use when testing for identity.