Possible Duplicate:
Best practices regarding equals: to overload or not to overload?
Does anyone overload the equals method in java? The overloaded method will be
public boolean equals(final MyClass myClass)
This will have the benefit of having the relevant comparison part (guts of the method) in another method. Details are in my blog.
EDIIT : This is a genuine question. Link to the blog entry removed.