O'Reilly logo
  • Bardia Aghabeigi thinks this is interesting:

The key provision that is violated when you fail to override hashCode is the second one: equal objects must have equal hash codes

From

Cover of Effective Java, 2nd Edition

Note

IMPORTANT