public interface PluralRule
Modifier and Type | Interface and Description |
---|---|
static class |
PluralRule.PluralForm
Information about the plural forms supported by this rule which
will be used during code generation and by tools to provide
information to translators.
|
Modifier and Type | Method and Description |
---|---|
PluralRule.PluralForm[] |
pluralForms()
Returns the list of values which are valid for this rule.
|
int |
select(int n)
Returns the plural form appropriate for this count.
|
PluralRule.PluralForm[] pluralForms()
int select(int n)
n
- count of items to choose plural form forCopyright © 2018. All rights reserved.