public static enum DisplayOptions.PluralCategory extends 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 List<DisplayOptions.PluralCategory> |
VALUES
Unmodifiable List of all plural categories constants.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.PluralCategory |
fromIdentifier(String identifier) |
String |
getIdentifier() |
static DisplayOptions.PluralCategory |
valueOf(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 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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final String getIdentifier()
public static final DisplayOptions.PluralCategory fromIdentifier(String identifier)
identifier
- in lower case such as "few" or "other"UNDEFINED
Copyright © 2016 Unicode, Inc. and others.