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