Package com.ibm.icu.message2
Class PluralSelectorFactory
java.lang.Object
com.ibm.icu.message2.PluralSelectorFactory
- All Implemented Interfaces:
SelectorFactory
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPluralSelectorFactory
(String type) Creates aPluralSelectorFactory
of the desired type. -
Method Summary
-
Field Details
-
pluralType
-
-
Constructor Details
-
PluralSelectorFactory
PluralSelectorFactory(String type) Creates aPluralSelectorFactory
of the desired type.- Parameters:
type
- the kind of plural selection we want
-
-
Method Details
-
createSelector
The method that is called to create a selector.- Specified by:
createSelector
in interfaceSelectorFactory
- Parameters:
locale
- the locale to use for selection.fixedOptions
- the options to use for selection. The keys and values are function dependent.- Returns:
- The Selector.
-