public class BooleanUnaryExpr extends UnaryExpr<FilterConstants.UnaryLogicOperator> implements BooleanExpr
| Constructor and Description |
|---|
BooleanUnaryExpr(FilterConstants.UnaryLogicOperator operator,
BooleanExpr operand)
Create a new
BooleanUnaryExpr. |
| Modifier and Type | Method and Description |
|---|---|
<T,X extends java.lang.Throwable> |
accept(ExprVisitor<T,X> visitor)
Accepts
visitor for this expression. |
java.util.Optional<BooleanUnaryExpr> |
asBooleanUnary()
Get this expression as a boolean unary expression
|
BooleanExpr |
getOperand()
Get the operand
|
boolean |
isBooleanUnary()
Check if this expression is a boolean unary expression.
|
asUnary, getOperator, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasBoolean, isBooleanasBinary, asBooleanBinary, asComparison, asMember, asMethodCall, asUnary, asValue, isBinary, isBooleanBinary, isComparison, isMember, isMethodCall, isUnary, isValuepublic BooleanUnaryExpr(FilterConstants.UnaryLogicOperator operator, BooleanExpr operand)
BooleanUnaryExpr.operator - the operatoroperand - the operandpublic boolean isBooleanUnary()
ExprisBooleanUnary in interface Exprpublic java.util.Optional<BooleanUnaryExpr> asBooleanUnary()
ExprasBooleanUnary in interface ExprOptional.empty() if the type does not matchpublic <T,X extends java.lang.Throwable> T accept(ExprVisitor<T,X> visitor) throws X extends java.lang.Throwable
Exprvisitor for this expression.public BooleanExpr getOperand()
UnaryExprgetOperand in class UnaryExpr<FilterConstants.UnaryLogicOperator>Copyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.