Java 7 added the java.util.Objects
class with several utility methods. One of these, Objects.hashCode
returns a int
hash value for the single passed Object
.
What is the point of this particular method?
How is this different than just calling the superclass method Object::hashCode
on the original object?