Freigeben über


Double.HashCode(Double) Method

Definition

Returns a hash code for a double value; compatible with Double.hashCode().

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

Parameters

value
Double

the value to hash

Returns

a hash code value for a double value.

Attributes

Remarks

Returns a hash code for a double value; compatible with Double.hashCode().

Added in 1.8.

Java documentation for java.lang.Double.hashCode(double).

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