Package org.goplanit.output.enums
Enum OutputType
- java.lang.Object
-
- java.lang.Enum<OutputType>
-
- org.goplanit.output.enums.OutputType
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputType>
,OutputTypeEnum
public enum OutputType extends Enum<OutputType> implements OutputTypeEnum
Different configurations exist for different types of output which we identify via this enum GENERAL: LINK: link based output SIMULATION: simulation based output such as profile information, objects created etc. OD: origin-destination based output regarding travel times and other costs PATH: Path from origin to destination- Author:
- markr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERAL
LINK
OD
PATH
SIMULATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
static OutputType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL
public static final OutputType GENERAL
-
LINK
public static final OutputType LINK
-
SIMULATION
public static final OutputType SIMULATION
-
OD
public static final OutputType OD
-
PATH
public static final OutputType PATH
-
-
Method Detail
-
values
public static OutputType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OutputType c : OutputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
- Specified by:
value
in interfaceOutputTypeEnum
-
-