Class MessageFormat.PluralSelectorProvider

  • All Implemented Interfaces:
    PluralFormat.PluralSelector
    Enclosing class:
    MessageFormat

    private static final class MessageFormat.PluralSelectorProvider
    extends java.lang.Object
    implements PluralFormat.PluralSelector
    This provider helps defer instantiation of a PluralRules object until we actually need to select a keyword. For example, if the number matches an explicit-value selector like "=1" we do not need any PluralRules.