Description: Tips and tricks, useful patterns and implementations for Android
As Java (or Android) developers, we use Object all the time. Java is an object-oriented programming language in the first place. We probably read/hear (more than once 1 2 3 ) that equals() and hashCode() should only be overriden together, as they affect hashtable operations. Let’s do an interactive experiment to see what happens when one doesn’t follow advice.
Java language specification - Java SE 8 Edition ↩
Effective Java - Joshua Bloch ↩