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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public abstract String getExpressionSymbol()
Copyright © 2020 JBoss by Red Hat. All rights reserved.