Package classes
Enum Other_Sort.SortType
- java.lang.Object
-
- java.lang.Enum<Other_Sort.SortType>
-
- classes.Other_Sort.SortType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Other_Sort.SortType>
- Enclosing class:
- Other_Sort
public static enum Other_Sort.SortType extends java.lang.Enum<Other_Sort.SortType>
The type of sort to be applied.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHABETICALDATEDEFAULTDISTANCEGRAPELAST_UPDATEDPRICERATINGREGIONTYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Other_Sort.SortTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Other_Sort.SortType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRICE
public static final Other_Sort.SortType PRICE
-
DATE
public static final Other_Sort.SortType DATE
-
ALPHABETICAL
public static final Other_Sort.SortType ALPHABETICAL
-
REGION
public static final Other_Sort.SortType REGION
-
GRAPE
public static final Other_Sort.SortType GRAPE
-
RATING
public static final Other_Sort.SortType RATING
-
TYPE
public static final Other_Sort.SortType TYPE
-
LAST_UPDATED
public static final Other_Sort.SortType LAST_UPDATED
-
DISTANCE
public static final Other_Sort.SortType DISTANCE
-
DEFAULT
public static final Other_Sort.SortType DEFAULT
-
-
Method Detail
-
values
public static Other_Sort.SortType[] 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 (Other_Sort.SortType c : Other_Sort.SortType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Other_Sort.SortType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-