Additional resources

Fork me on GitHub!

The source for this project is hosted on GitHub. You can submit bug reports or feature requests there.

Pull Requests are welcome! But please also open an issue so we can discuss it first. I’m happy to help you on your way!

Resources on how to write a great equals method

  • Effective Java, Third Edition, items 10 (Obey the general contract when overriding equals) and 11 (Always override hashCode when you override equals)
    Addison-Wesley, 2018
    by Joshua Bloch
    [book]
  • How to Write an Equality Method in Java
    1 June 2009
    by Martin Odersky, Lex Spoon, and Bill Venners
    [link]
  • Not all equals methods are created equal
    7 November 2017
    by Jan Ouwens
    [video]
  • Optimizing your equals() methods with Pattern Matching - JEP Cafe #21
    9 November 2023
    by José Paumard
    [video]

EqualsVerifier in the media

Image credits

These are the images used in the front-page menu: