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 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于