public static enum OilGenerator.GenType extends java.lang.Enum<OilGenerator.GenType>
Modifier and Type | Method and Description |
---|---|
static OilGenerator.GenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OilGenerator.GenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OilGenerator.GenType LARGE
public static final OilGenerator.GenType MEDIUM
public static final OilGenerator.GenType LAKE
public static final OilGenerator.GenType NONE
public static OilGenerator.GenType[] values()
for (OilGenerator.GenType c : OilGenerator.GenType.values()) System.out.println(c);
public static OilGenerator.GenType 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 null