public static enum KeepStatistics.StatisticAction extends java.lang.Enum<KeepStatistics.StatisticAction>
For statistic actions: add or remove to make it less confusing than a boolean
Enum Constant and Description |
---|
DECREMENT
Remove one
|
INCREMENT
Add one
|
UNCHANGED
leave it
|
Modifier and Type | Field and Description |
---|---|
java.lang.Double |
statisticValue
Value to ask for in statistic
|
Modifier and Type | Method and Description |
---|---|
static KeepStatistics.StatisticAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeepStatistics.StatisticAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeepStatistics.StatisticAction INCREMENT
public static final KeepStatistics.StatisticAction DECREMENT
public static final KeepStatistics.StatisticAction UNCHANGED
public final java.lang.Double statisticValue
Value to ask for in statistic
public static KeepStatistics.StatisticAction[] values()
for (KeepStatistics.StatisticAction c : KeepStatistics.StatisticAction.values()) System.out.println(c);
public static KeepStatistics.StatisticAction 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 null