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 Throwable> |
accept(ExprVisitor<T,X> visitor)
Accepts
visitor for this expression. |
Optional<BooleanUnaryExpr> |
asBooleanUnary()
Get this expression as a boolean unary expression
|
boolean |
equals(Object o) |
BooleanExpr |
getOperand()
Get the operand
|
int |
hashCode() |
boolean |
isBooleanUnary()
Check if this expression is a boolean unary expression.
|
asUnary, getOperator, toODataString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasBoolean, isBooleanasArithmetic, asBinary, asBooleanBinary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTextValue, asTime, asUnary, isArithmetic, isBinary, isBooleanBinary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTextValue, isTime, isUnarytoODataStringpublic BooleanUnaryExpr(FilterConstants.UnaryLogicOperator operator, BooleanExpr operand)
BooleanUnaryExpr.operator - the operatoroperand - the operandpublic boolean isBooleanUnary()
ExprisBooleanUnary in interface Exprpublic Optional<BooleanUnaryExpr> asBooleanUnary()
ExprasBooleanUnary in interface ExprOptional.empty() if the type does not matchpublic <T,X extends Throwable> T accept(ExprVisitor<T,X> visitor) throws X extends Throwable
Exprvisitor for this expression.public BooleanExpr getOperand()
UnaryExprgetOperand in class UnaryExpr<FilterConstants.UnaryLogicOperator>public int hashCode()
hashCode in class UnaryExpr<FilterConstants.UnaryLogicOperator>public boolean equals(Object o)
equals in class UnaryExpr<FilterConstants.UnaryLogicOperator>Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.