public abstract class UnaryExpression extends Object implements Expression
Modifier and Type | Field and Description |
---|---|
protected Expression |
right |
CACHE
Constructor and Description |
---|
UnaryExpression(Expression left) |
Modifier and Type | Method and Description |
---|---|
static BooleanExpression |
createBooleanCast(Expression left) |
static BooleanExpression |
createInExpression(VariableExpression right,
List<Object> elements,
boolean not) |
static Expression |
createNegate(Expression left) |
static BooleanExpression |
createNOT(BooleanExpression left) |
boolean |
equals(Object o)
TODO: more efficient hashCode()
|
abstract String |
getExpressionSymbol()
Returns the symbol that represents this binary expression.
|
Expression |
getRight() |
int |
hashCode()
TODO: more efficient hashCode()
|
void |
setRight(Expression expression) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clearCache, evaluate, parse
protected Expression right
public UnaryExpression(Expression left)
public static Expression createNegate(Expression left)
public static BooleanExpression createInExpression(VariableExpression right, List<Object> elements, boolean not)
public static BooleanExpression createNOT(BooleanExpression left)
public static BooleanExpression createBooleanCast(Expression left)
public Expression getRight()
public void setRight(Expression expression)
public boolean equals(Object o)
public abstract String getExpressionSymbol()
Copyright © 2021 JBoss by Red Hat. All rights reserved.