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