Serializable, Comparable<CursorDirection>public enum CursorDirection extends Enum<CursorDirection>
| Modifier and Type | Method | Description |
|---|---|---|
static CursorDirection |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static CursorDirection[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("asc")
public static final CursorDirection ASC
@SerializedName("desc")
public static final CursorDirection DESC
public static CursorDirection[] values()
for (CursorDirection c : CursorDirection.values()) System.out.println(c);
public static 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 © 2018 The Apache Software Foundation. All rights reserved.