Freigeben über


Short.HashCode(Int16) Method

Definition

Returns a hash code for a short value; compatible with Short.hashCode().

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

Parameters

value
Int16

the value to hash

Returns

a hash code value for a short value.

Attributes

Remarks

Returns a hash code for a short value; compatible with Short.hashCode().

Added in 1.8.

Java documentation for java.lang.Short.hashCode(short).

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