Edits.MergeAndAppend(Edits, Edits) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Merges the two input Edits and appends the result to this object.
[Android.Runtime.Register("mergeAndAppend", "(Landroid/icu/text/Edits;Landroid/icu/text/Edits;)Landroid/icu/text/Edits;", "", ApiSince=29)]
public Android.Icu.Text.Edits? MergeAndAppend (Android.Icu.Text.Edits? ab, Android.Icu.Text.Edits? bc);
[<Android.Runtime.Register("mergeAndAppend", "(Landroid/icu/text/Edits;Landroid/icu/text/Edits;)Landroid/icu/text/Edits;", "", ApiSince=29)>]
member this.MergeAndAppend : Android.Icu.Text.Edits * Android.Icu.Text.Edits -> Android.Icu.Text.Edits
Parameters
- ab
- Edits
reflects how substrings of input string a map to substrings of intermediate string b.
- bc
- Edits
reflects how substrings of intermediate string b map to substrings of output string c.
Returns
this, with the merged edits appended
- Attributes
Remarks
Merges the two input Edits and appends the result to this object.
Consider two string transformations (for example, normalization and case mapping) where each records Edits in addition to writing an output string.<br> Edits ab reflect how substrings of input string a map to substrings of intermediate string b.<br> Edits bc reflect how substrings of intermediate string b map to substrings of output string c.<br> This function merges ab and bc such that the additional edits recorded in this object reflect how substrings of input string a map to substrings of output string c.
If unrelated Edits are passed in where the output string of the first has a different length than the input string of the second, then an IllegalArgumentException is thrown.
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.