no.sesat.search.result
Enum Navigator.Sort
java.lang.Object
java.lang.Enum<Navigator.Sort>
no.sesat.search.result.Navigator.Sort
- All Implemented Interfaces:
- Serializable, Comparable<Navigator.Sort>
- Enclosing class:
- Navigator
public static enum Navigator.Sort
- extends Enum<Navigator.Sort>
|
Method Summary |
static Navigator.Sort |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Navigator.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
COUNT
public static final Navigator.Sort COUNT
YEAR
public static final Navigator.Sort YEAR
MONTH_YEAR
public static final Navigator.Sort MONTH_YEAR
DAY_MONTH_YEAR
public static final Navigator.Sort DAY_MONTH_YEAR
DAY_MONTH_YEAR_DESCENDING
public static final Navigator.Sort DAY_MONTH_YEAR_DESCENDING
YEAR_MONTH_DAY_DESCENDING
public static final Navigator.Sort YEAR_MONTH_DAY_DESCENDING
YEAR_MONTH
public static final Navigator.Sort YEAR_MONTH
ALPHABETICAL
public static final Navigator.Sort ALPHABETICAL
ALPHABETICAL_DESCENDING
public static final Navigator.Sort ALPHABETICAL_DESCENDING
CUSTOM
public static final Navigator.Sort CUSTOM
NONE
public static final Navigator.Sort NONE
values
public static Navigator.Sort[] 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 (Navigator.Sort c : Navigator.Sort.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Navigator.Sort 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 name
NullPointerException - if the argument is null
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.