Deprecated
as a consequence of SelectorFactory being deprecated. See corresponding docs for further information.
Selector doing plural selection, similar to {exp, plural}
in com.ibm.icu.text.MessageFormat .
| Modifier and Type | Class and Description |
|---|---|
| private static class | PluralSelectorFactory.PluralSelectorImpl
Deprecated
as a consequence of
Selector being deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
| private final PluralRules. |
| Access | Constructor and Description |
|---|---|
| pack-priv | PluralSelectorFactory(String
the kind of plural selection we want type)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public Selector | createSelector(Locale
the locale to use for selection. locale, Map<String, Object> the options to use for selection. The keys and values are function dependent. fixedOptions)Implements com.
Deprecated
as a consequence of
The method that is called to create a selector.
Selector being deprecated.
|
| pluralType | back to summary |
|---|---|
| private final PluralRules. | |
| PluralSelectorFactory | back to summary |
|---|---|
| pack-priv PluralSelectorFactory(String type) Creates a
| |
| createSelector | back to summary |
|---|---|
| public Selector createSelector(Locale locale, Map<String, Object> fixedOptions) Implements com. Doc from com. Deprecated as a consequence of The method that is called to create a selector. | |
Deprecated
as a consequence of Selector being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private final PluralRules |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| fixedOptions | back to summary |
|---|---|
| private Map<String, Object> fixedOptions | |
| rules | back to summary |
|---|---|
| private final PluralRules rules | |
| PluralSelectorImpl | back to summary |
|---|---|
| private PluralSelectorImpl(PluralRules rules, Map<String, Object> fixedOptions) | |
| matches | back to summary |
|---|---|
| public boolean matches(Object value, String key, Map<String, Object> variableOptions) Implements com. Doc from com. A method that is invoked for the object to match and each key. For example an English plural | |