public enum TurnIndicatorIntent extends Enum<TurnIndicatorIntent>
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 |
---|
CONFLICTING
Conflicting intents.
|
LEFT
Left.
|
NONE
None.
|
RIGHT
Right.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isConflicting() |
boolean |
isLeft() |
boolean |
isNone() |
boolean |
isRight() |
static TurnIndicatorIntent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TurnIndicatorIntent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TurnIndicatorIntent NONE
public static final TurnIndicatorIntent LEFT
public static final TurnIndicatorIntent RIGHT
public static final TurnIndicatorIntent CONFLICTING
public static TurnIndicatorIntent[] values()
for (TurnIndicatorIntent c : TurnIndicatorIntent.values()) System.out.println(c);
public static TurnIndicatorIntent 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 isNone()
public boolean isLeft()
public boolean isRight()
public boolean isConflicting()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.