public static enum Task.Complexity extends Enum<Task.Complexity>
Enum Constant and Description |
---|
HIGH
High complexity.
|
LOW
Low complexity.
|
MEDIUM
Medium complexity.
|
Modifier and Type | Method and Description |
---|---|
static Task.Complexity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Complexity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Complexity HIGH
public static final Task.Complexity MEDIUM
public static final Task.Complexity LOW
public static Task.Complexity[] values()
for (Task.Complexity c : Task.Complexity.values()) System.out.println(c);
public static Task.Complexity 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 nullCopyright (c) 2020, SAS Institute Inc., Cary, NC, USA