I have an address object that I want to create an equals method for. I could have made this quite simple by doing something like the following (shortened a bit):
You can use Objects.equal from Googles guava or the EqualsBuilder from apache commons