public static enum TSP.TourFlag extends java.lang.Enum<TSP.TourFlag>
| Enum Constant and Description |
|---|
CLOSED |
OPEN |
OPEN_FIXED_END |
OPEN_FIXED_START |
OPEN_FIXED_START_END |
| Modifier and Type | Method and Description |
|---|---|
static TSP.TourFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TSP.TourFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final TSP.TourFlag CLOSED
public static final TSP.TourFlag OPEN
public static final TSP.TourFlag OPEN_FIXED_START
public static final TSP.TourFlag OPEN_FIXED_END
public static final TSP.TourFlag OPEN_FIXED_START_END
public static TSP.TourFlag[] values()
for (TSP.TourFlag c : TSP.TourFlag.values())
System.out.println(c);
public static TSP.TourFlag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null