Partager via


Normalizer2.ComposePair(Int32, Int32) Method

Definition

Performs pairwise composition of a & b and returns the composite if there is one.

[Android.Runtime.Register("composePair", "(II)I", "GetComposePair_IIHandler", ApiSince=24)]
public virtual int ComposePair (int a, int b);
[<Android.Runtime.Register("composePair", "(II)I", "GetComposePair_IIHandler", ApiSince=24)>]
abstract member ComposePair : int * int -> int
override this.ComposePair : int * int -> int

Parameters

a
Int32

A (normalization starter) code point.

b
Int32

Another code point.

Returns

The non-negative composite code point if there is one; otherwise a negative value.

Attributes

Remarks

Performs pairwise composition of a &amp; b and returns the composite if there is one.

Returns a composite code point c only if c has a two-way mapping to a+b. In standard Unicode normalization, this means that c has a canonical decomposition to a+b and c does not have the Full_Composition_Exclusion property.

This function is independent of the mode of the Normalizer2. The default implementation returns a negative value.

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