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.

Reply via email to