Sdílet prostřednictvím


UnicodeSet.CompareTo Method

Definition

Overloads

CompareTo(IIterable)
CompareTo(UnicodeSet)

Compares UnicodeSets, where shorter come first, and otherwise lexicographically (according to the comparison of the first characters that differ).

CompareTo(UnicodeSet, UnicodeSet+ComparisonStyle)

CompareTo(IIterable)

[Android.Runtime.Register("compareTo", "(Ljava/lang/Iterable;)I", "GetCompareTo_Ljava_lang_Iterable_Handler", ApiSince=24)]
public virtual int CompareTo (Java.Lang.IIterable? other);
[<Android.Runtime.Register("compareTo", "(Ljava/lang/Iterable;)I", "GetCompareTo_Ljava_lang_Iterable_Handler", ApiSince=24)>]
abstract member CompareTo : Java.Lang.IIterable -> int
override this.CompareTo : Java.Lang.IIterable -> int

Parameters

other
IIterable

Returns

Attributes

Remarks

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

CompareTo(UnicodeSet)

Compares UnicodeSets, where shorter come first, and otherwise lexicographically (according to the comparison of the first characters that differ).

[Android.Runtime.Register("compareTo", "(Landroid/icu/text/UnicodeSet;)I", "GetCompareTo_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)]
public virtual int CompareTo (Android.Icu.Text.UnicodeSet? o);
[<Android.Runtime.Register("compareTo", "(Landroid/icu/text/UnicodeSet;)I", "GetCompareTo_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)>]
abstract member CompareTo : Android.Icu.Text.UnicodeSet -> int
override this.CompareTo : Android.Icu.Text.UnicodeSet -> int

Parameters

Returns

Attributes

Remarks

Compares UnicodeSets, where shorter come first, and otherwise lexicographically (according to the comparison of the first characters that differ).

Java documentation for android.icu.text.UnicodeSet.compareTo(android.icu.text.UnicodeSet).

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

CompareTo(UnicodeSet, UnicodeSet+ComparisonStyle)

[Android.Runtime.Register("compareTo", "(Landroid/icu/text/UnicodeSet;Landroid/icu/text/UnicodeSet$ComparisonStyle;)I", "GetCompareTo_Landroid_icu_text_UnicodeSet_Landroid_icu_text_UnicodeSet_ComparisonStyle_Handler", ApiSince=24)]
public virtual int CompareTo (Android.Icu.Text.UnicodeSet? o, Android.Icu.Text.UnicodeSet.ComparisonStyle? style);
[<Android.Runtime.Register("compareTo", "(Landroid/icu/text/UnicodeSet;Landroid/icu/text/UnicodeSet$ComparisonStyle;)I", "GetCompareTo_Landroid_icu_text_UnicodeSet_Landroid_icu_text_UnicodeSet_ComparisonStyle_Handler", ApiSince=24)>]
abstract member CompareTo : Android.Icu.Text.UnicodeSet * Android.Icu.Text.UnicodeSet.ComparisonStyle -> int
override this.CompareTo : Android.Icu.Text.UnicodeSet * Android.Icu.Text.UnicodeSet.ComparisonStyle -> int

Parameters

Returns

Attributes

Remarks

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