public enum DrivingDirectionType extends Enum<DrivingDirectionType>
Enum Constant and Description |
---|
DIR_BOTH
Bidirectional.
|
DIR_MINUS
Direction opposite to the direction of the graph, decreasing fractional position when driving in this direction.
|
DIR_NONE
No traffic possible.
|
DIR_PLUS
Direction the same as the direction of the graph, increasing fractional position when driving in this direction.
|
Modifier and Type | Method and Description |
---|---|
static DrivingDirectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrivingDirectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingDirectionType DIR_PLUS
public static final DrivingDirectionType DIR_MINUS
public static final DrivingDirectionType DIR_BOTH
public static final DrivingDirectionType DIR_NONE
public static DrivingDirectionType[] values()
for (DrivingDirectionType c : DrivingDirectionType.values()) System.out.println(c);
public static DrivingDirectionType 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–2019 Delft University of Technology. All rights reserved.