public enum GoalEnum extends Enum<GoalEnum>
| Enum Constant and Description |
|---|
MAXMIZE
Represents maxmize.
|
MINIMIZE
Represents minimize.
|
| Modifier and Type | Method and Description |
|---|---|
int |
goalEnum()
Returns the attribute goalEnum.
|
static GoalEnum |
of(int value)
Returns the object of goalEnum for.
|
static GoalEnum |
of(String value)
Returns the object of goalEnum for.
|
String |
toString() |
static GoalEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoalEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoalEnum MINIMIZE
public static final GoalEnum MAXMIZE
public static GoalEnum[] values()
for (GoalEnum c : GoalEnum.values()) System.out.println(c);
public static GoalEnum 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 GoalEnum of(int value)
value - value of goalEnum forpublic static GoalEnum of(String value)
value - value of goalEnum forpublic int goalEnum()
Copyright © 2018. All rights reserved.