Welcome to the Ranch
I added
code tags to your code. Always use the tags; doesn't it look better
About overriding equals: there are three standard references I now about, Bloch, Odersky
Spoon and Venners, and Langer. You should be able to find them from thei links in two of my old posts:
1 2. The equals method is a standard difficult problem in Java® coding.