public static enum Objective.Type extends java.lang.Enum<Objective.Type>
| Modifier and Type | Method | Description |
|---|---|---|
static Objective.Type |
fromString(java.lang.String value) |
|
java.lang.String |
toString() |
|
static Objective.Type |
valueOf(java.lang.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(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 nullpublic static Objective.Type fromString(java.lang.String value)
value - public java.lang.String toString()
toString in class java.lang.Enum<Objective.Type>Copyright © 2009–2022. All rights reserved.