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