Sdílet prostřednictvím


Character.HashCode(Char) Method

Definition

Returns a hash code for a char value; compatible with Character.hashCode().

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

Parameters

value
Char

The char for which to return a hash code.

Returns

a hash code value for a char value.

Attributes

Remarks

Returns a hash code for a char value; compatible with Character.hashCode().

Added in 1.8.

Java documentation for java.lang.Character.hashCode(char).

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