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 LocalizedNumberFormatterprivate static final Stringprivate final PluralRules -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePluralSelectorImpl(Locale locale, PluralRules rules, Map<String, Object> fixedOptions, String kind) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanA method that is invoked for the object to match and each key.private static intpluralComparator(String o1, String o2)
-
Field Details
-
NO_MATCH
- See Also:
-
rules
-
fixedOptions
-
icuFormatter
-
-
Constructor Details
-
PluralSelectorImpl
-
-
Method Details
-
matches
A method that is invoked for the object to match and each key.For example an English plural
matcheswould returntrueformatches(1, "1"),matches(1, "one"), andmatches(1, "*"). -
pluralComparator
-
matches
-