public static enum AnimalData.EnumNature extends java.lang.Enum<AnimalData.EnumNature>
Enum Constant and Description |
---|
AGGRESSIVE |
NEUTRAL |
NONE |
PASSIVE |
PROTECTIVE |
SKITTISH |
TERRITORIAL |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static AnimalData.EnumNature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnimalData.EnumNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimalData.EnumNature UNDEFINED
public static final AnimalData.EnumNature SKITTISH
public static final AnimalData.EnumNature PASSIVE
public static final AnimalData.EnumNature NEUTRAL
public static final AnimalData.EnumNature PROTECTIVE
public static final AnimalData.EnumNature TERRITORIAL
public static final AnimalData.EnumNature AGGRESSIVE
public static final AnimalData.EnumNature NONE
public static AnimalData.EnumNature[] values()
for (AnimalData.EnumNature c : AnimalData.EnumNature.values()) System.out.println(c);
public static AnimalData.EnumNature 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