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.lang.Integer.hashCode(int)Java 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

适用于