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