Class BinaryAbstractIdentityResolver

    • Constructor Detail

      • BinaryAbstractIdentityResolver

        public BinaryAbstractIdentityResolver()
    • Method Detail

      • hashCode

        public int hashCode​(BinaryObject obj)
        Compute hash code for binary object.
        Specified by:
        hashCode in interface BinaryIdentityResolver
        Parameters:
        obj - Binary object.
        Returns:
        Hash code value.
      • equals

        public boolean equals​(BinaryObject o1,
                              BinaryObject o2)
        Compare two binary objects for equality.
        Specified by:
        equals in interface BinaryIdentityResolver
        Parameters:
        o1 - First object.
        o2 - Second object.
        Returns:
        True if both objects are equal.
      • hashCode0

        protected abstract int hashCode0​(BinaryObject obj)
        Internal hash code routine.
        Parameters:
        obj - Object.
        Returns:
        Result.
      • equals0

        protected abstract boolean equals0​(BinaryObject o1,
                                           BinaryObject o2)
        Internal equals routine.
        Parameters:
        o1 - First object.
        o2 - Second object.
        Returns:
        Result.