Enum Constant and Description |
---|
HIGH
Defines degree of hilliness in requested thrilling route as high.
|
LOW
Defines degree of hilliness in requested thrilling route as low.
|
NORMAL
Defines degree of hilliness in requested thrilling route as normal.
|
UNDEFINED
Marks degree of hilliness in requested thrilling route as undefined.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Hilliness |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Hilliness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hilliness UNDEFINED
public static final Hilliness LOW
public static final Hilliness NORMAL
public static final Hilliness HIGH
public static Hilliness[] values()
for (Hilliness c : Hilliness.values()) System.out.println(c);
public static Hilliness 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@NonNull public java.lang.String toString()
toString
in class java.lang.Enum<Hilliness>