
public static enum RuleConverter.Order extends Enum<RuleConverter.Order>
| Enum Constant and Description |
|---|
ascName
By ruleID, in ascending order.
|
descName
By ruleID, in descending order.
|
| Modifier and Type | Field and Description |
|---|---|
Comparator<Rule> |
comparator
The
Comparator used to sort a list of Rule. |
| Modifier and Type | Method and Description |
|---|---|
static RuleConverter.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleConverter.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleConverter.Order ascName
public static final RuleConverter.Order descName
public final Comparator<Rule> comparator
Comparator used to sort a list of Rule.public static RuleConverter.Order[] values()
for (RuleConverter.Order c : RuleConverter.Order.values()) System.out.println(c);
public static RuleConverter.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 nullCopyright © 2009–2020 Waarp. All rights reserved.