public enum RoutingVehicleType extends java.lang.Enum<RoutingVehicleType>
Enum Constant and Description |
---|
CARAVAN
Caravan.
|
CARFAST
Fast car.
|
CARSLOW
Slow car.
|
CYCLIST
Bicycle.
|
DYNAMIC
Not yet implemented.
|
ERROR
Error parsing the result from the native code.
|
MOTORCYCLIST
Motorbike.
|
PEDESTRIAN
Pedestrian - Currently unsupported.
|
TRUCKFAST
Fast truck.
|
TRUCKSLOW
Slow truck.
|
USER
User profile.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns the int-value of the enumeration.
|
static RoutingVehicleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoutingVehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutingVehicleType ERROR
public static final RoutingVehicleType CARSLOW
public static final RoutingVehicleType CARFAST
public static final RoutingVehicleType PEDESTRIAN
public static final RoutingVehicleType TRUCKSLOW
public static final RoutingVehicleType TRUCKFAST
public static final RoutingVehicleType CYCLIST
public static final RoutingVehicleType MOTORCYCLIST
public static final RoutingVehicleType CARAVAN
public static final RoutingVehicleType USER
public static final RoutingVehicleType DYNAMIC
public static RoutingVehicleType[] values()
for (RoutingVehicleType c : RoutingVehicleType.values()) System.out.println(c);
public static RoutingVehicleType 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 int getId()