public static enum AbstractHeadwayGTU.GTUStatus extends Enum<AbstractHeadwayGTU.GTUStatus>
Enum Constant and Description |
---|
BRAKING_LIGHTS
Braking lights are on when observing the headway.
|
EMERGENCY_LIGHTS
Alarm lights are on.
|
HONK
GTU was honking (car) or ringing a bell (cyclist) when observing the headway.
|
LEFT_TURNINDICATOR
Left turn indicator was on when observing the headway.
|
RIGHT_TURNINDICATOR
Right turn indicator was on when observing the headway.
|
Modifier and Type | Method and Description |
---|---|
static AbstractHeadwayGTU.GTUStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractHeadwayGTU.GTUStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractHeadwayGTU.GTUStatus BRAKING_LIGHTS
public static final AbstractHeadwayGTU.GTUStatus LEFT_TURNINDICATOR
public static final AbstractHeadwayGTU.GTUStatus RIGHT_TURNINDICATOR
public static final AbstractHeadwayGTU.GTUStatus EMERGENCY_LIGHTS
public static final AbstractHeadwayGTU.GTUStatus HONK
public static AbstractHeadwayGTU.GTUStatus[] values()
for (AbstractHeadwayGTU.GTUStatus c : AbstractHeadwayGTU.GTUStatus.values()) System.out.println(c);
public static AbstractHeadwayGTU.GTUStatus 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 © 2014–2016 Delft University of Technology. All rights reserved.