Package org.wso2.carbon.event.common
Enum Constants.SORTING_STYLES
- java.lang.Object
-
- java.lang.Enum<Constants.SORTING_STYLES>
-
- org.wso2.carbon.event.common.Constants.SORTING_STYLES
-
- All Implemented Interfaces:
Serializable
,Comparable<Constants.SORTING_STYLES>
- Enclosing class:
- Constants
public static enum Constants.SORTING_STYLES extends Enum<Constants.SORTING_STYLES>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ascending
public static final Constants.SORTING_STYLES ascending
-
decending
public static final Constants.SORTING_STYLES decending
-
-
Method Detail
-
values
public static Constants.SORTING_STYLES[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Constants.SORTING_STYLES c : Constants.SORTING_STYLES.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constants.SORTING_STYLES valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-