public static enum VehicleMedium.MEDIUM extends java.lang.Enum<VehicleMedium.MEDIUM>
Enum Constant and Description |
---|
AIR |
GROUND |
UNDERWATER |
UNKNOWN |
WATER |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static VehicleMedium.MEDIUM |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VehicleMedium.MEDIUM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleMedium.MEDIUM GROUND
public static final VehicleMedium.MEDIUM AIR
public static final VehicleMedium.MEDIUM WATER
public static final VehicleMedium.MEDIUM UNDERWATER
public static final VehicleMedium.MEDIUM UNKNOWN
public static VehicleMedium.MEDIUM[] values()
for (VehicleMedium.MEDIUM c : VehicleMedium.MEDIUM.values()) System.out.println(c);
public static VehicleMedium.MEDIUM 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 long value()