public enum Condition extends Enum<Condition>
| Enum Constant and Description |
|---|
BANNED |
FAVORED |
REQUIRED |
STRONGLY_FAVORED |
| Modifier and Type | Method and Description |
|---|---|
static Condition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition FAVORED
public static final Condition STRONGLY_FAVORED
public static final Condition REQUIRED
public static final Condition BANNED
public static Condition[] values()
for (Condition c : Condition.values()) System.out.println(c);
public static Condition 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.