Enum Constant and Description |
---|
ALLOWED_CHEAP_TOLL |
ALLOWED_EXPENSIVE_TOLL |
ALLOWED_NO_TOLL |
FORBIDDEN_BARRIER |
FORBIDDEN_CAMERA |
FORBIDDEN_CHEAP_TOLL |
FORBIDDEN_EXPENSIVE_TOLL |
FORBIDDEN_NO_SURVEILLANCE |
FORBIDDEN_PATROL |
Modifier and Type | Method and Description |
---|---|
static Cases |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cases[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cases ALLOWED_NO_TOLL
public static final Cases ALLOWED_CHEAP_TOLL
public static final Cases ALLOWED_EXPENSIVE_TOLL
public static final Cases FORBIDDEN_NO_SURVEILLANCE
public static final Cases FORBIDDEN_PATROL
public static final Cases FORBIDDEN_CAMERA
public static final Cases FORBIDDEN_BARRIER
public static final Cases FORBIDDEN_CHEAP_TOLL
public static final Cases FORBIDDEN_EXPENSIVE_TOLL
public static Cases[] values()
for (Cases c : Cases.values()) System.out.println(c);
public static Cases 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