Download directly

In this mini Fragment, we introduce Joshua’s eighth Item. This one is a doozy, probably one of the longest items in the group of the effective Java series, but most definitely quite important.

This episode is brought to you by Rollbar. Go to rollbar.com/fragmented to get their Bootstrap plan for free for 90 days.

Stay tuned for more items from our “Effective Java for Android developers” Fragment series.

Show Notes #

Obey the general contract when overriding equals

When to not override equals: #

The equals method implement an equivalence relation which states it must be: #

A recipe for a high-quality equals method is as such: #

Caveats #

Contact #