abstract class CompareExpression extends Exp
Constructor and Description |
---|
CompareExpression(Val val1,
Val val2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptVisit(ExpressionVisitor visitor)
Accept a visit from a tree visitor.
|
protected abstract boolean |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare the two values.
|
protected boolean |
eval(java.util.Collection candidates,
StoreContext ctx,
java.lang.Object[] params)
Evaluate the expression for the given group.
|
protected boolean |
eval(java.lang.Object candidate,
java.lang.Object orig,
StoreContext ctx,
java.lang.Object[] params)
Evaluate the expression for the given context candidate and original
candidate.
|
protected boolean eval(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
Exp
protected boolean eval(java.util.Collection candidates, StoreContext ctx, java.lang.Object[] params)
Exp
protected abstract boolean compare(java.lang.Object o1, java.lang.Object o2)
public void acceptVisit(ExpressionVisitor visitor)
Expression
acceptVisit
in interface Expression
acceptVisit
in class Exp
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.