Package com.ibm.icu.message2
Class NumberFormatterFactory.PluralSelectorImpl
java.lang.Object
com.ibm.icu.message2.NumberFormatterFactory.PluralSelectorImpl
- All Implemented Interfaces:
Selector
- Enclosing class:
NumberFormatterFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LocalizedNumberFormatter
private final String
private static final String
private final PluralRules
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
PluralSelectorImpl
(Locale locale, PluralRules rules, Map<String, Object> fixedOptions, String kind) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
A method that is invoked for the object to match and each key.private static int
pluralComparator
(String o1, String o2)
-
Field Details
-
NO_MATCH
- See Also:
-
rules
-
fixedOptions
-
icuFormatter
-
kind
-
-
Constructor Details
-
PluralSelectorImpl
-
-
Method Details
-
matches
A method that is invoked for the object to match and each key.For example an English plural
matches
would returntrue
formatches(1, "1")
,matches(1, "one")
, andmatches(1, "*")
. -
pluralComparator
-
matches
-