public enum GoalType extends Enum<GoalType> implements OptimizationData
| Enum Constant and Description |
|---|
MAXIMIZE
Maximization.
|
MINIMIZE
Minimization.
|
| Modifier and Type | Method and Description |
|---|---|
static GoalType |
valueOf(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(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 © 2003–2016 The Apache Software Foundation. All rights reserved.