Enum Constant and Description |
---|
MAXIMIZE
Maximization goal.
|
MINIMIZE
Minimization goal.
|
Modifier and Type | Method and Description |
---|---|
static GoalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GoalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoalType MAXIMIZE
public static final GoalType MINIMIZE
public static GoalType[] values()
for (GoalType c : GoalType.values()) System.out.println(c);
public static GoalType 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 nullCopyright © 2010 - 2023 Adobe. All Rights Reserved