public enum LongitudinalDirectionality extends Enum<LongitudinalDirectionality>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Enum Constant and Description |
|---|
BACKWARD
Direction opposite to the direction of the graph.
|
BOTH
Bidirectional.
|
FORWARD
Direction the same as the direction of the graph.
|
NONE
No traffic possible.
|
| Modifier and Type | Method and Description |
|---|---|
static LongitudinalDirectionality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongitudinalDirectionality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LongitudinalDirectionality FORWARD
public static final LongitudinalDirectionality BACKWARD
public static final LongitudinalDirectionality BOTH
public static final LongitudinalDirectionality NONE
public static LongitudinalDirectionality[] values()
for (LongitudinalDirectionality c : LongitudinalDirectionality.values()) System.out.println(c);
public static LongitudinalDirectionality 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–2015 Delft University of Technology. All rights reserved.