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