Should the equals (Object) method be overridden when overriding hashCode() in Java?
I have read the contract that overriding equals, you should override hashCode. Is the vice versa true?
I was thinking of a scenario where I don't compare objects, no equals method.
 
     
     
    