Share via


Half.HashCode(Int16) Method

Definition

Returns a hash code for a half-precision float value.

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

Parameters

h
Int16

The value to hash

Returns

A hash code value for a half-precision float value

Attributes

Remarks

Returns a hash code for a half-precision float value.

Java documentation for android.util.Half.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