Package com.ibm.icu.text
Class PluralFormat.PluralSelectorAdapter
- java.lang.Object
-
- com.ibm.icu.text.PluralFormat.PluralSelectorAdapter
-
- All Implemented Interfaces:
PluralFormat.PluralSelector
- Enclosing class:
- PluralFormat
private final class PluralFormat.PluralSelectorAdapter extends java.lang.Object implements PluralFormat.PluralSelector
-
-
Constructor Summary
Constructors Modifier Constructor Description private
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.
-
-
-
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 interfacePluralFormat.PluralSelector
- Parameters:
context
- worker object for the selector.number
- The number to be plural-formatted.- Returns:
- The selected PluralFormat keyword.
-
-