Class UnaryExpression
java.lang.Object
org.apache.qpid.jms.selector.filter.UnaryExpression
- All Implemented Interfaces:
Expression
An expression which performs an operation on two expression values
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanExpressioncreateBooleanCast(Expression left) static BooleanExpressioncreateInExpression(PropertyExpression right, List<Object> elements, boolean not) static ExpressioncreateNegate(Expression left) static BooleanExpressioncreateNOT(BooleanExpression left) booleanTODO: more efficient hashCode()abstract StringReturns the symbol that represents this binary expression.getRight()inthashCode()TODO: more efficient hashCode()voidsetRight(Expression expression) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.qpid.jms.selector.filter.Expression
evaluate
-
Field Details
-
right
-
-
Constructor Details
-
UnaryExpression
-
-
Method Details
-
createNegate
-
createInExpression
public static BooleanExpression createInExpression(PropertyExpression right, List<Object> elements, boolean not) -
createNOT
-
createBooleanCast
-
getRight
-
setRight
-
toString
-
hashCode
public int hashCode()TODO: more efficient hashCode() -
equals
TODO: more efficient hashCode() -
getExpressionSymbol
Returns the symbol that represents this binary expression. For example, addition is represented by "+"- Returns:
- the symbol String
-