Integer.HashCode(Int32) Method

Definition

Returns a hash code for a int value; compatible with Integer.hashCode().

[Android.Runtime.Register("hashCode", "(I)I", "", ApiSince=24)]
public static int HashCode (int value);
[<Android.Runtime.Register("hashCode", "(I)I", "", ApiSince=24)>]
static member HashCode : int -> int

Parameters

value
Int32

the value to hash

Returns

Int32

a hash code value for a int value.

Attributes

Remarks

Java documentation for java.lang.Integer.hashCode(int).

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