public static enum Cursor.SortDirection extends Enum<Cursor.SortDirection>
| Enum Constant and Description |
|---|
ASCENDING |
DESCENDING |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static Cursor.SortDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cursor.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cursor.SortDirection ASCENDING
public static final Cursor.SortDirection DESCENDING
public static Cursor.SortDirection[] values()
for (Cursor.SortDirection c : Cursor.SortDirection.values()) System.out.println(c);
public static Cursor.SortDirection 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 nullpublic int getValue()
Copyright © 2012. All Rights Reserved.