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