public enum ConflictType extends Enum<ConflictType>
Copyright (c) 2013-2016 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 |
|---|
CROSSING
Crossing conflict.
|
MERGE
Merge conflict.
|
SPLIT
Split conflict.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCrossing()
Returns whether this is a crossing.
|
boolean |
isMerge()
Returns whether this is a merge.
|
boolean |
isSplit()
Returns whether this is a split.
|
static ConflictType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConflictType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictType CROSSING
public static final ConflictType MERGE
public static final ConflictType SPLIT
public static ConflictType[] values()
for (ConflictType c : ConflictType.values()) System.out.println(c);
public static ConflictType 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 isCrossing()
public boolean isMerge()
public boolean isSplit()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.