Don't really need to include the class in hash computation.
Don't really need to include the class in hash computation.

It's there in compare(T), so different classes that happen to have the same properties will never be considered equal, but since it's extremely uncommon to store such objects in the same hash table (and comparison would separate them anyway), we don't need to waste cycles adding the class's hash to the overall hash function.

willhains/equality