That there is no hashCode() method accompanying the equals() method is one problem. The other is that the equals() method may fail the commutative property test whereby cookieA.equals(childOfCookieB) == true, but childOfCookieB.equals(cookieA) == false.
- equals and hashcode Piyush Purang
- Re: equals and hashcode Justin C . van Vorst
- RE: equals and hashcode Jerome Louvel
- RE: equals and hashcode Jerome Louvel
- Re: equals and hashcode Chris Grindstaff
- Re: equals and hashcode Piyush Purang
- Re: equals and hashcode Chris Grindstaff
- Re: equals and hashcode Justin C . van Vorst
- Re: equals and hashcode Justin C . van Vorst

