public enum UserNotificationOrder extends Enum<UserNotificationOrder>
Enum Constant and Description |
---|
SENDER_ADDRESS
By sender address
|
TIME_READ
By time read
|
TIME_SENT
By time sent
|
Modifier and Type | Method and Description |
---|---|
static UserNotificationOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserNotificationOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserNotificationOrder SENDER_ADDRESS
public static final UserNotificationOrder TIME_SENT
public static final UserNotificationOrder TIME_READ
public static UserNotificationOrder[] values()
for (UserNotificationOrder c : UserNotificationOrder.values()) System.out.println(c);
public static UserNotificationOrder 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.