LangUtils.HashCode 方法

定义

重载

HashCode(Int32, Object)

[Android.Runtime.Register("hashCode", "(ILjava/lang/Object;)I", "")]
public static int HashCode(int seed, Java.Lang.Object? obj);
[<Android.Runtime.Register("hashCode", "(ILjava/lang/Object;)I", "")>]
static member HashCode : int * Java.Lang.Object -> int

参数

seed
Int32
obj
Object

返回

属性

注解

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

适用于

HashCode(Int32, Boolean)

[Android.Runtime.Register("hashCode", "(IZ)I", "")]
public static int HashCode(int seed, bool b);
[<Android.Runtime.Register("hashCode", "(IZ)I", "")>]
static member HashCode : int * bool -> int

参数

seed
Int32

返回

属性

注解

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

适用于

HashCode(Int32, Int32)

[Android.Runtime.Register("hashCode", "(II)I", "")]
public static int HashCode(int seed, int hashcode);
[<Android.Runtime.Register("hashCode", "(II)I", "")>]
static member HashCode : int * int -> int

参数

seed
Int32
hashcode
Int32

返回

属性

注解

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

适用于