public static enum HorseDisguise.Style extends java.lang.Enum<HorseDisguise.Style>
Enum Constant and Description |
---|
BLACK_DOTS |
NONE |
WHITE |
WHITE_DOTS |
WHITEFIELD |
Modifier and Type | Method and Description |
---|---|
static HorseDisguise.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorseDisguise.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorseDisguise.Style NONE
public static final HorseDisguise.Style WHITE
public static final HorseDisguise.Style WHITEFIELD
public static final HorseDisguise.Style WHITE_DOTS
public static final HorseDisguise.Style BLACK_DOTS
public static HorseDisguise.Style[] values()
for (HorseDisguise.Style c : HorseDisguise.Style.values()) System.out.println(c);
public static HorseDisguise.Style 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