public static enum AccountComparator.Criteria extends java.lang.Enum<AccountComparator.Criteria>
Enum Constant and Description |
---|
CREATION_DATE |
EMAIL |
FULLNAME |
FULLNAME_REVERSED |
ID |
LASTCONNECTION |
LASTNAME |
Modifier and Type | Method and Description |
---|---|
static AccountComparator.Criteria |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountComparator.Criteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountComparator.Criteria CREATION_DATE
public static final AccountComparator.Criteria ID
public static final AccountComparator.Criteria EMAIL
public static final AccountComparator.Criteria FULLNAME
public static final AccountComparator.Criteria FULLNAME_REVERSED
public static final AccountComparator.Criteria LASTCONNECTION
public static final AccountComparator.Criteria LASTNAME
public static AccountComparator.Criteria[] values()
for (AccountComparator.Criteria c : AccountComparator.Criteria.values()) System.out.println(c);
public static AccountComparator.Criteria valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null