public enum ChoiceEvaluation extends Enum<ChoiceEvaluation>
Enum defines the available ways to simplify and evaluate
choice format expressions.| Enum Constant and Description |
|---|
asElse
Resolve by evaluating the '(else)' part.
|
asNull
Resolve by evaluating with
null value. |
| Modifier and Type | Method and Description |
|---|---|
static ChoiceEvaluation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChoiceEvaluation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChoiceEvaluation asElse
public static final ChoiceEvaluation asNull
null value.public static ChoiceEvaluation[] values()
for (ChoiceEvaluation c : ChoiceEvaluation.values()) System.out.println(c);
public static ChoiceEvaluation 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 © 2001–2016 mmm-Team. All rights reserved.