- array
- the array whose hash code to compute.
Documentation for this section has not yet been entered.
Returns a hash code based on the contents of the given array. If the array contains other arrays as its elements, the hash code is based on their identities not their contents. So it is acceptable to invoke this method on an array that contains itself as an element, either directly or indirectly.
For any two arrays a and b, if Arrays.equals(a, b) returns true, it means that the return value of Arrays.hashCode(a) equals Arrays.hashCode(b).
The value returned by this method is the same value as the method Arrays.asList(array).hashCode(). If the array is null, the return value is 0.