Interface HashImmutable

    • Method Summary

      Modifier and Type Method Description
      boolean equals​(Object other)
      Marker declaration to indicate that for classes of this type, Object.equals(Object) can be properly used.
      int hashCode()
      Marker declaration to indicate that for classes of this type, Object.hashCode() can be properly used.
    • Method Detail

      • equals

        boolean equals​(Object other)
        Marker declaration to indicate that for classes of this type, Object.equals(Object) can be properly used.
        Overrides:
        equals in class Object
        Parameters:
        other - the reference object with which to compare.
        Returns:
        true if this object can be treated as the same as other,false otherwise.
        See Also:
        hashCode()