Share via


PluralRules.GetSamples(String) Method

Definition

Returns a list of integer values for which select() would return that keyword, or null if the keyword is not defined.

[Android.Runtime.Register("getSamples", "(Ljava/lang/String;)Ljava/util/Collection;", "GetGetSamples_Ljava_lang_String_Handler", ApiSince=24)]
public virtual System.Collections.Generic.ICollection<Java.Lang.Double>? GetSamples (string? keyword);
[<Android.Runtime.Register("getSamples", "(Ljava/lang/String;)Ljava/util/Collection;", "GetGetSamples_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member GetSamples : string -> System.Collections.Generic.ICollection<Java.Lang.Double>
override this.GetSamples : string -> System.Collections.Generic.ICollection<Java.Lang.Double>

Parameters

keyword
String

the keyword to test

Returns

a list of values matching the keyword.

Attributes

Remarks

Returns a list of integer values for which select() would return that keyword, or null if the keyword is not defined. The returned collection is unmodifiable. The returned list is not complete, and there might be additional values that would return the keyword.

Java documentation for android.icu.text.PluralRules.getSamples(java.lang.String).

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