- Object , equals() ( hashCode()), , field1, field2 field3 .
EDIT ( ):
, hashCode(), , ( equals), . , HashMaps. , , equals().
, , hashCode() . , - field3. , field3 . HashMap , , equals(), .
, hashCode() . , . , , , . , HashMap .
EDIT2:
the question of a good hash code for this key was given in a separate question here
source
share