src/share/classes/java/util/Objects.java
Print this page
*** 117,127 ****
* value does not equal the hash code of that object reference.</b> This
* value can be computed by calling {@link #hashCode(Object)}.
*
* @param values the values to be hashed
* @return a hash value of the sequence of input values
! * @see Arrays#hashCode
* @see List#hashCode
*/
public static int hash(Object... values) {
return Arrays.hashCode(values);
}
--- 117,127 ----
* value does not equal the hash code of that object reference.</b> This
* value can be computed by calling {@link #hashCode(Object)}.
*
* @param values the values to be hashed
* @return a hash value of the sequence of input values
! * @see Arrays#hashCode(Object[])
* @see List#hashCode
*/
public static int hash(Object... values) {
return Arrays.hashCode(values);
}