T - the operator typepublic abstract class UnaryExpr<T> extends java.lang.Object implements Expr
| Constructor and Description |
|---|
UnaryExpr(T operator,
Expr operand)
Create a new
UnaryExpr. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<UnaryExpr<?>> |
asUnary()
Get this expression as a unary expression
|
Expr |
getOperand()
Get the operand
|
T |
getOperator()
Get the operator.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, asBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asMember, asMethodCall, asValue, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isMember, isMethodCall, isUnary, isValuepublic T getOperator()
public Expr getOperand()
public java.util.Optional<UnaryExpr<?>> asUnary()
Exprpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.