public enum LightType extends Enum<LightType>
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static LightType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightType SKY
public static final LightType BLOCK
public static LightType[] values()
for (LightType c : LightType.values()) System.out.println(c);
public static LightType 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 null