public static enum GenerationStep.Carver extends Enum<GenerationStep.Carver>
Modifier and Type | Field and Description |
---|---|
private static Map<String,GenerationStep.Carver> |
BY_NAME |
private String |
name |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static GenerationStep.Carver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenerationStep.Carver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenerationStep.Carver AIR
public static final GenerationStep.Carver LIQUID
private static final Map<String,GenerationStep.Carver> BY_NAME
private final String name
public static GenerationStep.Carver[] values()
for (GenerationStep.Carver c : GenerationStep.Carver.values()) System.out.println(c);
public static GenerationStep.Carver 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 nullpublic String getName()