henko.netHome of a human being and software developerImplementing equals()- May 18, 2006 Among Java developers, there exist different ideas about how to implement the equals() method. The disagreement is about whether to allow subclasses to be considered equal or not. I quickly describe the difference between the two alternatives and give my take on the problem.http://henko.net/imperfection/implementing-equals/ |