public static enum CSP.Objective extends java.lang.Enum<CSP.Objective>
| Enum Constant and Description |
|---|
MAXIMIZE
Maximize
|
MINIMIZE
Minimize
|
NONE
No objectives
|
| Modifier and Type | Method and Description |
|---|---|
static CSP.Objective |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CSP.Objective[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSP.Objective NONE
public static final CSP.Objective MAXIMIZE
public static final CSP.Objective MINIMIZE
public static CSP.Objective[] values()
for (CSP.Objective c : CSP.Objective.values()) System.out.println(c);
public static CSP.Objective 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