Java Hashing - moneymayur/Misc GitHub Wiki
Objects.hash(Object... values) should be used in cases when you want a hash of a sequence of objects, e.g. when defining your own hashCode method and want a simply-coded hash for multiple values that make up the identity of your object.
Objects.hashCode(Object o) should be used when you want the hash of a single object, without throwing if the object is null.
Object::hashCode() should be used when you want the hash of a single object, and will throw an exception if the object is null.