public enum ConflictRule extends Enum<ConflictRule>
 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 | 
|---|
ALL_STOP
All-way stop. 
 | 
GIVE_WAY
Give priority. 
 | 
PRIORITY
Have priority. 
 | 
SPLIT
Split. 
 | 
STOP
Stop and give priority. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ConflictRule | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ConflictRule[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ConflictRule PRIORITY
public static final ConflictRule GIVE_WAY
public static final ConflictRule STOP
public static final ConflictRule ALL_STOP
public static final ConflictRule SPLIT
public static ConflictRule[] values()
for (ConflictRule c : ConflictRule.values()) System.out.println(c);
public static ConflictRule 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–2017 Delft University of Technology. All rights reserved.