com.neeve.query
Enum Query.SortOrder

java.lang.Object
  extended by java.lang.Enum<Query.SortOrder>
      extended by com.neeve.query.Query.SortOrder
All Implemented Interfaces:
Serializable, Comparable<Query.SortOrder>
Enclosing interface:
Query<REC>

public static enum Query.SortOrder
extends Enum<Query.SortOrder>

Enumerates valid sort orders.


Enum Constant Summary
ASCENDING
           
DESCENDING
           
 
Method Summary
static Query.SortOrder get(boolean ascending)
           
static Query.SortOrder valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Query.SortOrder[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ASCENDING

public static final Query.SortOrder ASCENDING

DESCENDING

public static final Query.SortOrder DESCENDING
Method Detail

values

public static Query.SortOrder[] 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 (Query.SortOrder c : Query.SortOrder.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Query.SortOrder 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

get

public static Query.SortOrder get(boolean ascending)


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.