public class Not extends AbstractBooleanExpression
| Constructor and Description |
|---|
Not(boolean value)
Create a new instance of a unary
Not from a boolean literal |
Not(BooleanExpression operand)
Create a new instance of a unary
Not from a boolean expression |
Not(String value)
Create a new instance of a unary
Not from a string literal |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BooleanExpressionVisitor visitor)
Accept a visitor
|
BooleanExpression |
getOperand()
Get the boolean expression literal to be negated.
|
acceptpublic Not(boolean value)
Not from a boolean literalvalue - boolean literal to be negatedpublic Not(String value)
Not from a string literalvalue - string literal to be negatedpublic Not(BooleanExpression operand)
Not from a boolean expressionoperand - boolean expression literal to be negatedpublic BooleanExpression getOperand()
public void accept(BooleanExpressionVisitor visitor)
BooleanExpressionvisitor - visitor to acceptCopyright © 2018–2021. All rights reserved.