public static enum VehicleType.Variable extends Enum<VehicleType.Variable>
TraciObject.getReadQuery(Enum).| Enum Constant and Description |
|---|
ACCEL
Query "ReadAccel"
|
DECEL
Query "ReadDecel"
|
LENGTH
Query "ReadLength"
|
MAXSPEED
Query "ReadMaxSpeed"
|
MINGAP
Query "ReadMinGap"
|
| Modifier and Type | Method and Description |
|---|---|
static VehicleType.Variable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleType.Variable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleType.Variable LENGTH
VehicleType.queryReadLength()public static final VehicleType.Variable ACCEL
VehicleType.queryReadAccel()public static final VehicleType.Variable DECEL
VehicleType.queryReadDecel()public static final VehicleType.Variable MAXSPEED
VehicleType.queryReadMaxSpeed()public static final VehicleType.Variable MINGAP
VehicleType.queryReadMinGap()public static VehicleType.Variable[] values()
for (VehicleType.Variable c : VehicleType.Variable.values()) System.out.println(c);
public static VehicleType.Variable 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 nullCopyright © 2015 Politecnico di Torino. All rights reserved.