Class PluralFormat.PluralSelectorAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String select​(java.lang.Object context, double number)
      Given a number, returns the appropriate PluralFormat keyword.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PluralSelectorAdapter

        private PluralSelectorAdapter()
    • Method Detail

      • select

        public java.lang.String select​(java.lang.Object context,
                                       double number)
        Description copied from interface: PluralFormat.PluralSelector
        Given a number, returns the appropriate PluralFormat keyword.
        Specified by:
        select in interface PluralFormat.PluralSelector
        Parameters:
        context - worker object for the selector.
        number - The number to be plural-formatted.
        Returns:
        The selected PluralFormat keyword.