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(Object o1,
Object o2)
Compare the two values.
|
protected boolean |
eval(Collection candidates,
StoreContext ctx,
Object[] params)
Evaluate the expression for the given group.
|
protected boolean |
eval(Object candidate,
Object orig,
StoreContext ctx,
Object[] params)
Evaluate the expression for the given context candidate and original
candidate.
|
protected boolean eval(Object candidate, Object orig, StoreContext ctx, Object[] params)
Exp
protected boolean eval(Collection candidates, StoreContext ctx, Object[] params)
Exp
public void acceptVisit(ExpressionVisitor visitor)
Expression
acceptVisit
in interface Expression
acceptVisit
in class Exp
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.