protected static enum ResourceDistributionGoal.ChangeType extends Enum<ResourceDistributionGoal.ChangeType>
Modifier and Type | Method and Description |
---|---|
static ResourceDistributionGoal.ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceDistributionGoal.ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceDistributionGoal.ChangeType ADD
public static final ResourceDistributionGoal.ChangeType REMOVE
public static ResourceDistributionGoal.ChangeType[] values()
for (ResourceDistributionGoal.ChangeType c : ResourceDistributionGoal.ChangeType.values()) System.out.println(c);
public static ResourceDistributionGoal.ChangeType 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 null