Objects.Hash(Object[]) Method

Definition

Generates a hash code for a sequence of input values.

[Android.Runtime.Register("hash", "([Ljava/lang/Object;)I", "")]
public static int Hash (params Java.Lang.Object[]? values);
[<Android.Runtime.Register("hash", "([Ljava/lang/Object;)I", "")>]
static member Hash : Java.Lang.Object[] -> int

Parameters

values
Object[]

the values to be hashed

Returns

a hash value of the sequence of input values

Attributes

Remarks

Java documentation for java.util.Objects.hash(java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to