Top "Hash-code-uniqueness" questions

Use this tag for questions related to a Hash Code's Uniqueness, i.e. when the hash codes are unique.

Why is '397' used for ReSharper GetHashCode override?

Like many of you, I use ReSharper to speed up the development process. When you use it to override the …

hash resharper hash-code-uniqueness
Java hashCode for a Point class

I have a simple custom Point class as follows and I would like to know if my hashCode implemention could …

java hashcode hash-code-uniqueness
How to generate a hash code from three longs

I have a HashMap with coordinates as keys. Coordinates have 3 longs holding the x, y and z coordinate. (Coordinate is …

java hashcode hash-code-uniqueness