public static enum Constants.SORTING_STYLES extends Enum<Constants.SORTING_STYLES>
Modifier and Type | Method and Description |
---|---|
static Constants.SORTING_STYLES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.SORTING_STYLES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.SORTING_STYLES ascending
public static final Constants.SORTING_STYLES decending
public static Constants.SORTING_STYLES[] values()
for (Constants.SORTING_STYLES c : Constants.SORTING_STYLES.values()) System.out.println(c);
public static Constants.SORTING_STYLES 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 © 2021 WSO2. All rights reserved.