次の方法で共有


UUID.CompareTo(UUID) Method

Definition

Compares this UUID with the specified UUID.

[Android.Runtime.Register("compareTo", "(Ljava/util/UUID;)I", "")]
public int CompareTo (Java.Util.UUID? val);
[<Android.Runtime.Register("compareTo", "(Ljava/util/UUID;)I", "")>]
member this.CompareTo : Java.Util.UUID -> int

Parameters

val
UUID

UUID to which this UUID is to be compared

Returns

-1, 0 or 1 as this UUID is less than, equal to, or greater than val

Attributes

Remarks

Compares this UUID with the specified UUID.

The first of two UUIDs is greater than the second if the most significant field in which the UUIDs differ is greater for the first UUID.

Java documentation for java.util.UUID.compareTo(java.util.UUID).

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