Share via


CollationElementIterator.GetMaxExpansion(Int32) Method

Definition

Returns the maximum length of any expansion sequence that ends with the specified collation element.

[Android.Runtime.Register("getMaxExpansion", "(I)I", "", ApiSince=24)]
public int GetMaxExpansion (int ce);
[<Android.Runtime.Register("getMaxExpansion", "(I)I", "", ApiSince=24)>]
member this.GetMaxExpansion : int -> int

Parameters

ce
Int32

a collation element returned by previous() or next().

Returns

the maximum length of any expansion sequence ending with the specified collation element.

Attributes

Remarks

Returns the maximum length of any expansion sequence that ends with the specified collation element. If there is no expansion with this collation element as the last element, returns 1.

Java documentation for android.icu.text.CollationElementIterator.getMaxExpansion(int).

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