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