Language

UnicodeSet.Strings Method

Definition

For iterating through the strings in the set.

[Android.Runtime.Register("strings", "()Ljava/util/Collection;", "GetStringsHandler", ApiSince=24)]
public virtual System.Collections.Generic.ICollection<string>? Strings();
[<Android.Runtime.Register("strings", "()Ljava/util/Collection;", "GetStringsHandler", ApiSince=24)>]
abstract member Strings : unit -> System.Collections.Generic.ICollection<string>
override this.Strings : unit -> System.Collections.Generic.ICollection<string>

Returns

A read-only collection of string elements, excluding the set's single-code-point elements.

Attributes

Remarks

For iterating through the strings in the set. Example:

for (String key : myUnicodeSet.strings()) {
              doSomethingWith(key);
            }

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

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