public static enum Synchronizable.State extends Enum<Synchronizable.State>
Copyright (c) 2013-2019 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 |
---|
COOPERATING
Subject vehicle is cooperating for a lane change of another GTU.
|
INDICATING
Subject vehicle is adjusting speed and indicating desired lane change.
|
NONE
No synchronization.
|
SYNCHRONIZING
Subject vehicle is adjusting speed.
|
Modifier and Type | Method and Description |
---|---|
static Synchronizable.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Synchronizable.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Synchronizable.State NONE
public static final Synchronizable.State SYNCHRONIZING
public static final Synchronizable.State INDICATING
public static final Synchronizable.State COOPERATING
public static Synchronizable.State[] values()
for (Synchronizable.State c : Synchronizable.State.values()) System.out.println(c);
public static Synchronizable.State 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.