public enum PluralCategoryName extends java.lang.Enum<PluralCategoryName> implements EnumConverter<PluralCategoryName>
Modifier and Type | Method and Description |
---|---|
static PluralCategoryName |
from(java.lang.String value) |
java.lang.String |
to(PluralCategoryName v) |
static PluralCategoryName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluralCategoryName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluralCategoryName ZERO
public static final PluralCategoryName ONE
public static final PluralCategoryName TWO
public static final PluralCategoryName FEW
public static final PluralCategoryName MANY
public static final PluralCategoryName OTHER
public static PluralCategoryName[] values()
for (PluralCategoryName c : PluralCategoryName.values()) System.out.println(c);
public static PluralCategoryName 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 static PluralCategoryName from(java.lang.String value)
public java.lang.String to(PluralCategoryName v)
to
in interface EnumConverter<PluralCategoryName>