Interface Key<T>

    • Method Detail

      • hashCode

        int hashCode()
        Deprecated.
        All keys must override the hash-code function to generate proper deterministic hash codes, based on their contents.
        Overrides:
        hashCode in class Object
        Returns:
        The hash code of the key
      • equals

        boolean equals​(Object other)
        Deprecated.
        Compares the object on equality with another object.
        Overrides:
        equals in class Object
        Parameters:
        other - The other object to compare against.
        Returns:
        True, iff this object is identical to the other object, false otherwise.