public static enum DisplayOptions.PluralCategory extends java.lang.Enum<DisplayOptions.PluralCategory>
Enum Constant and Description |
---|
FEW |
MANY |
ONE |
OTHER |
TWO |
UNDEFINED
A possible setting for PluralCategory.
|
ZERO |
Modifier and Type | Field and Description |
---|---|
static java.util.List<DisplayOptions.PluralCategory> |
VALUES
Unmodifiable List of all plural categories constants.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.PluralCategory |
fromIdentifier(java.lang.String identifier) |
java.lang.String |
getIdentifier() |
static DisplayOptions.PluralCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayOptions.PluralCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayOptions.PluralCategory UNDEFINED
public static final DisplayOptions.PluralCategory ZERO
public static final DisplayOptions.PluralCategory ONE
public static final DisplayOptions.PluralCategory TWO
public static final DisplayOptions.PluralCategory FEW
public static final DisplayOptions.PluralCategory MANY
public static final DisplayOptions.PluralCategory OTHER
public static final java.util.List<DisplayOptions.PluralCategory> VALUES
values()
.public static DisplayOptions.PluralCategory[] values()
for (DisplayOptions.PluralCategory c : DisplayOptions.PluralCategory.values()) System.out.println(c);
public static DisplayOptions.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 nullpublic final java.lang.String getIdentifier()
public static final DisplayOptions.PluralCategory fromIdentifier(java.lang.String identifier)
identifier
- in lower case such as "few" or "other"UNDEFINED
Copyright ? 2016 Unicode, Inc. and others.