public static enum Cursor.CursorDirection extends Enum<Cursor.CursorDirection>
| Enum Constant and Description |
|---|
next
Cursor will iterate using natural order.
|
nextunique
Cursor will iterate using natural order and skipping duplicated entries.
|
prev
Cursor will iterate using reverse order.
|
prevunique
Cursor will iterate using reverse order and skipping duplicated entries.
|
| Modifier and Type | Method and Description |
|---|---|
static Cursor.CursorDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cursor.CursorDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cursor.CursorDirection next
public static final Cursor.CursorDirection nextunique
public static final Cursor.CursorDirection prev
public static final Cursor.CursorDirection prevunique
public static Cursor.CursorDirection[] values()
for (Cursor.CursorDirection c : Cursor.CursorDirection.values()) System.out.println(c);
public static Cursor.CursorDirection 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 nullCopyright © 2015. All rights reserved.