|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluralRule
The interface that plural rules must implement. Implementations of this interface will be used both at compile time (pluralForms) and at run time (select), so implementations must be both translatable and not reference JSNI methods.
Nested Class Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
PluralRule.PluralForm[] pluralForms()
int select(int n)
n
- count of items to choose plural form for
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |