Serializable
, Comparable<Note.OrderBy>
public static enum Note.OrderBy extends Enum<Note.OrderBy>
Enum Constant | Description |
---|---|
CREATED_AT |
|
UPDATED_AT |
Modifier and Type | Method | Description |
---|---|---|
static Note.OrderBy |
forValue(String value) |
|
String |
toString() |
|
String |
toValue() |
|
static Note.OrderBy |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Note.OrderBy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Note.OrderBy CREATED_AT
public static final Note.OrderBy UPDATED_AT
public static Note.OrderBy[] values()
for (Note.OrderBy c : Note.OrderBy.values()) System.out.println(c);
public static Note.OrderBy 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 static Note.OrderBy forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Note.OrderBy>
Copyright © 2018. All rights reserved.