Share via


AlphabeticIndex.Collator Property

Definition

Get a clone of the collator used internally.

public Android.Icu.Text.RuleBasedCollator? Collator { [Android.Runtime.Register("getCollator", "()Landroid/icu/text/RuleBasedCollator;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getCollator", "()Landroid/icu/text/RuleBasedCollator;", "", ApiSince=24)>]
member this.Collator : Android.Icu.Text.RuleBasedCollator

Property Value

a clone of the collator used internally

Attributes

Remarks

Get a clone of the collator used internally. Note that for performance reasons, the clone is only done once, and then stored. The next time it is accessed, the same instance is returned.

<b>Don't use this method across threads if you are changing the settings on the collator, at least not without synchronizing.</b>

Java documentation for android.icu.text.AlphabeticIndex.getCollator().

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