Condividi tramite


UnicodeSet.AddAll Method

Definition

Overloads

AddAll(UnicodeSet)

Adds all of the elements in the specified set to this set if they're not already present.

AddAll(ICharSequence)

Adds each of the characters in this string to the set.

AddAll(IIterable)

Add a collection (as strings) into this UnicodeSet.

AddAll(String)

Adds each of the characters in this string to the set.

AddAll(Int32, Int32)

Adds all characters in range (uses preferred naming convention).

AddAll(UnicodeSet)

Adds all of the elements in the specified set to this set if they're not already present.

[Android.Runtime.Register("addAll", "(Landroid/icu/text/UnicodeSet;)Landroid/icu/text/UnicodeSet;", "GetAddAll_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? AddAll (Android.Icu.Text.UnicodeSet? c);
[<Android.Runtime.Register("addAll", "(Landroid/icu/text/UnicodeSet;)Landroid/icu/text/UnicodeSet;", "GetAddAll_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)>]
abstract member AddAll : Android.Icu.Text.UnicodeSet -> Android.Icu.Text.UnicodeSet
override this.AddAll : Android.Icu.Text.UnicodeSet -> Android.Icu.Text.UnicodeSet

Parameters

c
UnicodeSet

set whose elements are to be added to this set.

Returns

Attributes

Remarks

Adds all of the elements in the specified set to this set if they're not already present. This operation effectively modifies this set so that its value is the union of the two sets. The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress.

Java documentation for android.icu.text.UnicodeSet.addAll(android.icu.text.UnicodeSet).

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

AddAll(ICharSequence)

Adds each of the characters in this string to the set.

[Android.Runtime.Register("addAll", "(Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)]
public Android.Icu.Text.UnicodeSet? AddAll (Java.Lang.ICharSequence? s);
[<Android.Runtime.Register("addAll", "(Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)>]
member this.AddAll : Java.Lang.ICharSequence -> Android.Icu.Text.UnicodeSet

Parameters

s
ICharSequence

the source string

Returns

this object, for chaining

Attributes

Remarks

Adds each of the characters in this string to the set. Thus "ch" =&gt; {"c", "h"} If this set already any particular character, it has no effect on that character.

Java documentation for android.icu.text.UnicodeSet.addAll(java.lang.CharSequence).

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

AddAll(IIterable)

Add a collection (as strings) into this UnicodeSet.

[Android.Runtime.Register("addAll", "(Ljava/lang/Iterable;)Landroid/icu/text/UnicodeSet;", "GetAddAll_Ljava_lang_Iterable_Handler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? AddAll (Java.Lang.IIterable? source);
[<Android.Runtime.Register("addAll", "(Ljava/lang/Iterable;)Landroid/icu/text/UnicodeSet;", "GetAddAll_Ljava_lang_Iterable_Handler", ApiSince=24)>]
abstract member AddAll : Java.Lang.IIterable -> Android.Icu.Text.UnicodeSet
override this.AddAll : Java.Lang.IIterable -> Android.Icu.Text.UnicodeSet

Parameters

source
IIterable

collection to add into

Returns

a reference to this object

Attributes

Remarks

Add a collection (as strings) into this UnicodeSet. Uses standard naming convention.

Java documentation for android.icu.text.UnicodeSet.addAll(java.lang.Iterable<?>).

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

AddAll(String)

Adds each of the characters in this string to the set.

public Android.Icu.Text.UnicodeSet? AddAll (string? s);
member this.AddAll : string -> Android.Icu.Text.UnicodeSet

Parameters

s
String

the source string

Returns

this object, for chaining

Remarks

Adds each of the characters in this string to the set. Thus "ch" =&gt; {"c", "h"} If this set already any particular character, it has no effect on that character.

Java documentation for android.icu.text.UnicodeSet.addAll(java.lang.CharSequence).

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

AddAll(Int32, Int32)

Adds all characters in range (uses preferred naming convention).

[Android.Runtime.Register("addAll", "(II)Landroid/icu/text/UnicodeSet;", "GetAddAll_IIHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? AddAll (int start, int end);
[<Android.Runtime.Register("addAll", "(II)Landroid/icu/text/UnicodeSet;", "GetAddAll_IIHandler", ApiSince=24)>]
abstract member AddAll : int * int -> Android.Icu.Text.UnicodeSet
override this.AddAll : int * int -> Android.Icu.Text.UnicodeSet

Parameters

start
Int32

The index of where to start on adding all characters.

end
Int32

The index of where to end on adding all characters.

Returns

a reference to this object

Attributes

Remarks

Adds all characters in range (uses preferred naming convention).

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