public enum VehicleType extends Enum<VehicleType>
| Enum Constant and Description |
|---|
ALL |
INTERMEDIATE_DOUBLE |
LONG_DOUBLE |
OTHER_LONG_COMBINATION_VEHICLE |
SEMI_TRAILOR |
STANDARD_DOUBLE |
STRAIGHT |
TRIPLE |
| Modifier and Type | Method and Description |
|---|---|
static VehicleType |
getValue(String vehicleVal)
Returns Corresponding VehicleType choice
|
static VehicleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleType ALL
public static final VehicleType STRAIGHT
public static final VehicleType SEMI_TRAILOR
public static final VehicleType STANDARD_DOUBLE
public static final VehicleType INTERMEDIATE_DOUBLE
public static final VehicleType LONG_DOUBLE
public static final VehicleType TRIPLE
public static final VehicleType OTHER_LONG_COMBINATION_VEHICLE
public static VehicleType[] values()
for (VehicleType c : VehicleType.values()) System.out.println(c);
public static VehicleType 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 static VehicleType getValue(String vehicleVal)
String vehicleVal