public static enum Headway.ObjectType extends Enum<Headway.ObjectType>
| Enum Constant and Description |
|---|
BUSSTOP
bus stop.
|
CONFLICT
intersection conflict.
|
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.
|
STOPLINE
stop line.
|
TRAFFICLIGHT
the observed object for headway is a traffic light.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBusStop() |
boolean |
isConflict() |
boolean |
isDistanceOnly() |
boolean |
isGtu() |
boolean |
isObject() |
boolean |
isStopLine() |
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 final Headway.ObjectType CONFLICT
public static final Headway.ObjectType STOPLINE
public static final Headway.ObjectType BUSSTOP
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()
public boolean isConflict()
public boolean isStopLine()
public boolean isBusStop()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.