org.xorm.query
Class Expression.Divide

java.lang.Object
  |
  +--org.xorm.query.Expression
        |
        +--org.xorm.query.Expression.Binary
              |
              +--org.xorm.query.Expression.Arithmetic
                    |
                    +--org.xorm.query.Expression.Divide
Enclosing class:
Expression

public static class Expression.Divide
extends Expression.Arithmetic


Nested Class Summary
 
Nested classes inherited from class org.xorm.query.Expression
Expression.Add, Expression.And, Expression.Arithmetic, Expression.Binary, Expression.BitwiseComplement, Expression.Cast, Expression.Comparison, Expression.ConditionalAnd, Expression.ConditionalOr, Expression.Constant, Expression.Divide, Expression.Equal, Expression.ExclusiveOr, Expression.FieldAccess, Expression.GreaterThan, Expression.GreaterThanEqual, Expression.InclusiveOr, Expression.LessThan, Expression.LessThanEqual, Expression.Member, Expression.MethodCall, Expression.Modulo, Expression.Multiply, Expression.Not, Expression.NotEqual, Expression.Numeric, Expression.Parameter, Expression.Subtract, Expression.Symbolic, Expression.Unary, Expression.UnaryMinus, Expression.Variable
 
Field Summary
 
Fields inherited from class org.xorm.query.Expression.Binary
lhs, rhs
 
Constructor Summary
Expression.Divide(Expression lhs, Expression rhs)
           
 
Method Summary
 Object evaluateNumeric(Number lhs, Number rhs)
           
 Operator operator()
          Returns a String representation of the operator
 
Methods inherited from class org.xorm.query.Expression.Arithmetic
evaluate, getType
 
Methods inherited from class org.xorm.query.Expression.Binary
getLHS, getRHS, toString
 
Methods inherited from class org.xorm.query.Expression
accept, escapeChar, escapeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Expression.Divide

public Expression.Divide(Expression lhs,
                         Expression rhs)
Method Detail

evaluateNumeric

public Object evaluateNumeric(Number lhs,
                              Number rhs)
Specified by:
evaluateNumeric in class Expression.Arithmetic

operator

public Operator operator()
Description copied from class: Expression.Binary
Returns a String representation of the operator

Specified by:
operator in class Expression.Binary


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/query/Expression.Divide.html,v 1.2 2004/05/30 08:55:08 wbiggs Exp $