Udostępnij za pośrednictwem


IPath.GetHashCode Method

Definition

Computes a hash code for this path.

[Android.Runtime.Register("hashCode", "()I", "GetGetHashCodeHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public int GetHashCode ();
[<Android.Runtime.Register("hashCode", "()I", "GetGetHashCodeHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member GetHashCode : unit -> int

Returns

the hash-code value for this path

Attributes

Remarks

Computes a hash code for this path.

The hash code is based upon the components of the path, and satisfies the general contract of the Object#hashCode Object.hashCode method.

Java documentation for java.nio.file.Path.hashCode().

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.

Applies to