How to Write an Equality Method in Java

This article describes a technique for overriding the equals method that preserves the contract of equals even when subclassses of concrete classes add new fields.

Lexy Almost 15 years ago