I ran into an interesting (and very frustrating) issue with the equals() method today which caused what I thought to be a well tested class to crash and cause a
equals()
If you use eclipse just go to the top menu
Source --> Generate equals() and hashCode()