public static enum Headway.ObjectType extends Enum<Headway.ObjectType>
| Enum Constant and Description |
|---|
DISTANCEONLY
there is no observed object, just a distance.
|
GTU
the observed object for headway is a GTU.
|
OBJECT
the observed object for headway is a generic object.
|
TRAFFICLIGHT
the observed object for headway is a traffic light.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDistanceOnly() |
boolean |
isGtu() |
boolean |
isObject() |
boolean |
isTrafficLight() |
static Headway.ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Headway.ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Headway.ObjectType GTU
public static final Headway.ObjectType TRAFFICLIGHT
public static final Headway.ObjectType OBJECT
public static final Headway.ObjectType DISTANCEONLY
public static Headway.ObjectType[] values()
for (Headway.ObjectType c : Headway.ObjectType.values()) System.out.println(c);
public static Headway.ObjectType 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 boolean isGtu()
public boolean isTrafficLight()
public boolean isObject()
public boolean isDistanceOnly()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.