This method is used to check if the current object is equal to the given object.
Computes the hash code value of this object.