Normalizer2.GetDecomposition(Int32) Method

Definition

Gets the decomposition mapping of c.

[Android.Runtime.Register("getDecomposition", "(I)Ljava/lang/String;", "GetGetDecomposition_IHandler", ApiSince=24)]
public abstract string? GetDecomposition (int c);
[<Android.Runtime.Register("getDecomposition", "(I)Ljava/lang/String;", "GetGetDecomposition_IHandler", ApiSince=24)>]
abstract member GetDecomposition : int -> string

Parameters

c
Int32

code point

Returns

c's decomposition mapping, if any; otherwise null

Attributes

Remarks

Gets the decomposition mapping of c. Roughly equivalent to normalizing the String form of c on a DECOMPOSE Normalizer2 instance, but much faster, and except that this function returns null if c does not have a decomposition mapping in this instance's data. This function is independent of the mode of the Normalizer2.

Java documentation for android.icu.text.Normalizer2.getDecomposition(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