public enum Decision extends Enum<Decision>
| Enum Constant and Description |
|---|
Dontcare
Enum for "Don't Care"-decision.
|
No
Enum for No-decision, meaning that a condition is false or that an action is not executed.
|
Yes
Enum for Yes-decision, meaning that a condition is true or that an action is executed.
|
| Modifier and Type | Method and Description |
|---|---|
static Decision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Decision Yes
public static final Decision No
public static final Decision Dontcare
public static Decision[] values()
for (Decision c : Decision.values()) System.out.println(c);
public static Decision 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 © 2013. All Rights Reserved.