public enum DirectionEnum extends Enum<DirectionEnum>
Enum Constant and Description |
---|
FROMRTM
From Rotterdam
|
TORTM
To Rotterdam
|
TOTAL
total
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
static DirectionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectionEnum TOTAL
public static final DirectionEnum FROMRTM
public static final DirectionEnum TORTM
public static DirectionEnum[] values()
for (DirectionEnum c : DirectionEnum.values()) System.out.println(c);
public static DirectionEnum 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 String getDescription()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.