public enum SortBy extends Enum<SortBy>
| Enum Constant and Description |
|---|
CREATED_AT |
FIRST_NAME |
GROUP_NAME |
LAST_NAME |
PHONE_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
static SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortBy PHONE_NUMBER
public static final SortBy FIRST_NAME
public static final SortBy LAST_NAME
public static final SortBy GROUP_NAME
public static final SortBy CREATED_AT
public static SortBy[] values()
for (SortBy c : SortBy.values()) System.out.println(c);
public static SortBy 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 String getDescription()
Copyright © 2015. All Rights Reserved.