public class Conditional extends Expression
Constructor and Description |
---|
Conditional(BooleanExpression condition,
Expression consequent,
Expression alternative)
Initializes this conditional expression with the given condition, consequent, and alternative.
|
public Conditional(BooleanExpression condition, Expression consequent, Expression alternative)
condition
- the condition of this conditional expressionconsequent
- the consequent (then part) of this conditional expressionalternative
- the alternative (else part) of this conditional expression