Objects.HashCode(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the hash code of a non-null
argument and 0 for
a null
argument.
[Android.Runtime.Register("hashCode", "(Ljava/lang/Object;)I", "")]
public static int HashCode (Java.Lang.Object? o);
[<Android.Runtime.Register("hashCode", "(Ljava/lang/Object;)I", "")>]
static member HashCode : Java.Lang.Object -> int
Parameters
- o
- Object
an object
Returns
the hash code of a non-null
argument and 0 for
a null
argument
- Attributes
Remarks
Returns the hash code of a non-null
argument and 0 for a null
argument.
Java documentation for java.util.Objects.hashCode(java.lang.Object)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.