語言

Integer.HashCode(Int32) 方法

定義

回傳一個值的 int 雜湊碼;與 相容 Integer.hashCode()

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

參數

value
Int32

雜湊值

傳回

一個雜湊碼值。int

屬性

備註

回傳一個值的 int 雜湊碼;與 相容 Integer.hashCode()

新增於1.8版本。

Java 文件 java.lang.Integer.hashCode(int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於