static enum CompositeTask.Order extends Enum<CompositeTask.Order>
Modifier and Type | Field and Description |
---|---|
private Consumer<WeightedList<?>> |
listModifier |
Modifier and Type | Method and Description |
---|---|
void |
apply(WeightedList<?> list) |
static CompositeTask.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompositeTask.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompositeTask.Order ORDERED
public static final CompositeTask.Order SHUFFLED
private final Consumer<WeightedList<?>> listModifier
public static CompositeTask.Order[] values()
for (CompositeTask.Order c : CompositeTask.Order.values()) System.out.println(c);
public static CompositeTask.Order 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 void apply(WeightedList<?> list)