public enum KpiGtuDirectionality extends Enum<KpiGtuDirectionality>
 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 | 
|---|
| DIR_MINUSDriving direction opposite to the direction of the graph, decreasing fractional position when driving in this direction. | 
| DIR_PLUSDriving direction matches the direction of the graph, increasing fractional position when driving in this direction. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isMinus() | 
| boolean | isPlus() | 
| static KpiGtuDirectionality | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static KpiGtuDirectionality[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final KpiGtuDirectionality DIR_PLUS
public static final KpiGtuDirectionality DIR_MINUS
public static KpiGtuDirectionality[] values()
for (KpiGtuDirectionality c : KpiGtuDirectionality.values()) System.out.println(c);
public static KpiGtuDirectionality 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 isPlus()
public boolean isMinus()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.