public static enum PluralRules.PluralType extends java.lang.Enum<PluralRules.PluralType>
| Enum Constant and Description |
|---|
CARDINAL
Plural rules for cardinal numbers: 1 file vs. 2 files.
|
ORDINAL
Plural rules for ordinal numbers: 1st file, 2nd file, 3rd file, 4th file, etc.
|
| Modifier and Type | Method and Description |
|---|---|
static PluralRules.PluralType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluralRules.PluralType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluralRules.PluralType CARDINAL
public static final PluralRules.PluralType ORDINAL
public static PluralRules.PluralType[] values()
for (PluralRules.PluralType c : PluralRules.PluralType.values()) System.out.println(c);
public static PluralRules.PluralType 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 nullCopyright © 2016 Unicode, Inc. and others.