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