public enum TaskSorting extends Enum<TaskSorting>
Enum Constant and Description |
---|
DECREASING_RUNTIME |
ID |
INCREASING_RUNTIME |
Modifier and Type | Method and Description |
---|---|
static TaskSorting |
fromString(String str) |
static TaskSorting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskSorting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskSorting ID
public static final TaskSorting INCREASING_RUNTIME
public static final TaskSorting DECREASING_RUNTIME
public static TaskSorting[] values()
for (TaskSorting c : TaskSorting.values()) System.out.println(c);
public static TaskSorting 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 static TaskSorting fromString(String str)