Reimplement equals and override hashCode to match equals
Authored by: hotzst 2009-08-16
Parent: [r1933]
Child: [r1935]