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