@Deprecated public static enum Horse.Variant extends Enum<Horse.Variant>
| Enum Constant and Description | 
|---|
| DONKEYDeprecated.  A donkey | 
| HORSEDeprecated.  A normal horse | 
| LLAMADeprecated.  Not really a horse :) | 
| MULEDeprecated.  A mule | 
| SKELETON_HORSEDeprecated.  A skeleton horse | 
| UNDEAD_HORSEDeprecated.  An undead horse | 
| Modifier and Type | Method and Description | 
|---|---|
| static Horse.Variant | valueOf(String name)Deprecated.  Returns the enum constant of this type with the specified name. | 
| static Horse.Variant[] | values()Deprecated.  Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Horse.Variant HORSE
public static final Horse.Variant DONKEY
public static final Horse.Variant MULE
public static final Horse.Variant UNDEAD_HORSE
public static final Horse.Variant SKELETON_HORSE
public static final Horse.Variant LLAMA
public static Horse.Variant[] values()
for (Horse.Variant c : Horse.Variant.values()) System.out.println(c);
public static Horse.Variant 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 nullCopyright © 2017. All rights reserved.