G
Gregory A. Swarthout
From Object's JavDoc:
It doesn't say why this must be. Does anyone know?
If two objects are equal according to the equals(Object)
method, then calling the hashCode method on each of
the two objects must produce the same integer result.
It doesn't say why this must be. Does anyone know?