Udostępnij za pośrednictwem


Long.HashCode(Int64) Method

Definition

Returns a hash code for a long value; compatible with Long.hashCode().

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

Parameters

value
Int64

the value to hash

Returns

a hash code value for a long value.

Attributes

Remarks

Java documentation for java.lang.Long.hashCode(long).

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