public enum UsersOrder extends Enum<UsersOrder>
Enum Constant and Description |
---|
CREATED
Created
|
LAST_UPDATED
Last updated
|
USER_EMAIL
User email
|
USER_NAME
User name
|
Modifier and Type | Method and Description |
---|---|
static UsersOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsersOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsersOrder USER_NAME
public static final UsersOrder USER_EMAIL
public static final UsersOrder CREATED
public static final UsersOrder LAST_UPDATED
public static UsersOrder[] values()
for (UsersOrder c : UsersOrder.values()) System.out.println(c);
public static UsersOrder 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 © 2019. All rights reserved.