public class OrExpression extends ConditionalExpression
| Constructor and Description |
|---|
OrExpression(ConditionalExpression left,
ConditionalExpression right)
Constructs an OrExpression object that represents the conditional
expression
left OR right. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrue()
Evaluates the expression represented by the called object, based on
the current truth values of the subexpressions.
|
getLeft, getRightpublic OrExpression(ConditionalExpression left, ConditionalExpression right)
left OR right.left - one of the conditional subexpressions being ORedright - the other conditional subexpressionpublic boolean isTrue()
isTrue in class ConditionalExpression