Compartir a través de


Float.HashCode(Single) Method

Definition

Returns a hash code for a float value; compatible with Float.hashCode().

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

Parameters

value
Single

the value to hash

Returns

a hash code value for a float value.

Attributes

Remarks

Returns a hash code for a float value; compatible with Float.hashCode().

Added in 1.8.

Java documentation for java.lang.Float.hashCode(float).

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