How to Write an Equality Method in Java

Updated . Posted . Visible to the public.

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.

Last edit
Keywords
java
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-06-01 12:10)