Package com.ibm.icu.text
Interface PluralFormat.PluralSelector
-
- All Known Implementing Classes:
MessageFormat.PluralSelectorProvider
,PluralFormat.PluralSelectorAdapter
- Enclosing class:
- PluralFormat
static interface PluralFormat.PluralSelector
Interface for selecting PluralFormat keywords for numbers. The PluralRules class was intended to implement this interface, but there is no public API that uses a PluralSelector, only MessageFormat and PluralFormat have PluralSelector implementations. Therefore, PluralRules is not marked to implement this non-public interface, to avoid confusing users.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
select(java.lang.Object context, double number)
Given a number, returns the appropriate PluralFormat keyword.
-