public class NotExpression extends ConditionalExpression
| Constructor and Description |
|---|
NotExpression(ConditionalExpression expr)
Constructs a NotExpression object that represents the conditional
expression
NOT expr. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrue()
Evaluates the expression represented by the called object, based on
the current truth value of the subexpression.
|
getLeft, getRightpublic NotExpression(ConditionalExpression expr)
NOT expr.expr - the conditional subexpression being negatedpublic boolean isTrue()
isTrue in class ConditionalExpression