public class DefaultRule_sw extends DefaultRule
PluralRule.PluralForm
Constructor and Description |
---|
DefaultRule_sw() |
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.
|
public PluralRule.PluralForm[] pluralForms()
PluralRule
pluralForms
in interface PluralRule
pluralForms
in class DefaultRule
public int select(int n)
PluralRule
select
in interface PluralRule
select
in class DefaultRule
n
- count of items to choose plural form forCopyright © 2018. All rights reserved.