hash code
An int summarizing an object, used by HashSet and HashMap to find it quickly.
hashCode() returns an int; equal objects must return equal values, and Objects.hash(fields...) combines field hashes correctly.
Examples
@Override public int hashCode() { return Objects.hash(x, y); }
See also