String.CaseInsensitiveOrder Property

Definition

A Comparator that orders String objects as by compareToIgnoreCase.

[Android.Runtime.Register("CASE_INSENSITIVE_ORDER")]
public static Java.Util.IComparator? CaseInsensitiveOrder { get; }
[<Android.Runtime.Register("CASE_INSENSITIVE_ORDER")>]
static member CaseInsensitiveOrder : Java.Util.IComparator

Property Value

Attributes

Remarks

A Comparator that orders String objects as by compareToIgnoreCase. This comparator is serializable.

Note that this Comparator does <em>not</em> take locale into account, and will result in an unsatisfactory ordering for certain locales. The java.text.Collator class provides locale-sensitive comparison.

Added in 1.2.

Java documentation for java.lang.String.CASE_INSENSITIVE_ORDER.

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