Java.Util.Arrays.HashCode Method
Returns a hash code based on the contents of the given array.

Syntax

[Android.Runtime.Register("hashCode", "([J)I", "")]
public static int HashCode (long[] array)

Parameters

array
the array whose hash code to compute.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a hash code based on the contents of the given array. For any two long 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 IList.GetHashCode method which is invoked on a Java.Util.IList containing a sequence of Java.Lang.Long instances representing the elements of array in the same order. If the array is null, the return value is 0.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1