public static enum Objective.Type extends Enum<Objective.Type>
| Modifier and Type | Method and Description |
|---|---|
static Objective.Type |
fromString(String value) |
String |
toString() |
static Objective.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Objective.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Objective.Type MAXIMIZE
public static final Objective.Type MINIMIZE
public static Objective.Type[] values()
for (Objective.Type c : Objective.Type.values()) System.out.println(c);
public static Objective.Type 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 Objective.Type fromString(String value)
value - public String toString()
toString in class Enum<Objective.Type>Copyright © 2009–2017. All rights reserved.