JavaObject.JniIdentityHashCode 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回给定对象的哈希代码与默认方法 hashCode()返回的相同哈希代码,无论给定对象的类是否重写 hashCode()。
public int JniIdentityHashCode { get; }
member this.JniIdentityHashCode : int
属性值
hashCode
实现
注解
返回给定对象的哈希代码与默认方法 hashCode()返回的相同哈希代码,无论给定对象的类是否重写 hashCode()。 null 引用的哈希代码为零。
Java参考java.lang.System.identityHashCode。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。