@Deprecated public static enum Horse.Variant extends Enum<Horse.Variant>
| Enum Constant and Description | 
|---|
DONKEY
Deprecated.  
A donkey 
 | 
HORSE
Deprecated.  
A normal horse 
 | 
LLAMA
Deprecated.  
Not really a horse :) 
 | 
MULE
Deprecated.  
A mule 
 | 
SKELETON_HORSE
Deprecated.  
A skeleton horse 
 | 
UNDEAD_HORSE
Deprecated.  
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 © 2022. All rights reserved.