public static enum Pairs.SortOrder extends Enum<Pairs.SortOrder>
Pair
s.Enum Constant and Description |
---|
ASCENDING |
DESCENDING |
Modifier and Type | Method and Description |
---|---|
static Pairs.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pairs.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pairs.SortOrder ASCENDING
public static final Pairs.SortOrder DESCENDING
public static Pairs.SortOrder[] values()
for (Pairs.SortOrder c : Pairs.SortOrder.values()) System.out.println(c);
public static Pairs.SortOrder 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 © 2014–2018. All rights reserved.