org.planx.xpath.expr.operator
Class GreaterThanOperator

java.lang.Object
  extended by org.planx.xpath.expr.Expression
      extended by org.planx.xpath.expr.operator.Operator
          extended by org.planx.xpath.expr.operator.RelationalOperator
              extended by org.planx.xpath.expr.operator.GreaterThanOperator

public class GreaterThanOperator
extends RelationalOperator

Greater than operator.


Field Summary
 
Fields inherited from class org.planx.xpath.expr.operator.Operator
e1, e2
 
Constructor Summary
GreaterThanOperator(Expression e1, Expression e2)
           
 
Method Summary
protected  boolean compare(double v1, double v2)
           
protected  boolean compareSets(double v1_min, double v1_max, double v2_min, double v2_max)
           
protected  String operatorName()
           
 
Methods inherited from class org.planx.xpath.expr.operator.RelationalOperator
evaluate
 
Methods inherited from class org.planx.xpath.expr.operator.Operator
evaluate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GreaterThanOperator

public GreaterThanOperator(Expression e1,
                           Expression e2)
Method Detail

compare

protected boolean compare(double v1,
                          double v2)
Specified by:
compare in class RelationalOperator

compareSets

protected boolean compareSets(double v1_min,
                              double v1_max,
                              double v2_min,
                              double v2_max)
Specified by:
compareSets in class RelationalOperator

operatorName

protected String operatorName()
Specified by:
operatorName in class Operator


Copyright © 2010. All Rights Reserved.