public static enum Biome.TempCategory extends java.lang.Enum<Biome.TempCategory>
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,Biome.TempCategory> |
BY_NAME |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static Biome.TempCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Biome.TempCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Biome.TempCategory OCEAN
public static final Biome.TempCategory COLD
public static final Biome.TempCategory MEDIUM
public static final Biome.TempCategory WARM
private static final java.util.Map<java.lang.String,Biome.TempCategory> BY_NAME
private final java.lang.String name
public static Biome.TempCategory[] values()
for (Biome.TempCategory c : Biome.TempCategory.values()) System.out.println(c);
public static Biome.TempCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()