public enum PluralCategory extends java.lang.Enum<PluralCategory>
Enumeration of CLDR plural categories.
PluralRules| Enum Constant and Description |
|---|
FEW |
MANY |
ONE |
OTHER
This category serves as fallback if any other category cannot be found
in CLDR-data.
|
TWO |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
static PluralCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluralCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluralCategory ZERO
public static final PluralCategory ONE
public static final PluralCategory TWO
public static final PluralCategory FEW
public static final PluralCategory MANY
public static final PluralCategory OTHER
This category serves as fallback if any other category cannot be found in CLDR-data.
public static PluralCategory[] values()
for (PluralCategory c : PluralCategory.values()) System.out.println(c);
public static PluralCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null