com.wewebu.expression.language
Class OwExprDivideOperator

java.lang.Object
  extended by com.wewebu.expression.language.OwExprOperator
      extended by com.wewebu.expression.language.OwExprBinaryOperator
          extended by com.wewebu.expression.language.OwExprMultiplicativeOperator
              extended by com.wewebu.expression.language.OwExprDivideOperator

public class OwExprDivideOperator
extends OwExprMultiplicativeOperator

OwExprDivideOperator.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
static OwExprDivideOperator INSTANCE
           
 
Method Summary
 OwExprValue evaluate(OwExprNumericValue v1_p, OwExprNumericValue v2_p)
          NUMERIC operator NUMERIC operation evaluation
 
Methods inherited from class com.wewebu.expression.language.OwExprBinaryOperator
binaryEvaluation, computeExpressionType, computeType, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, getRegressingTypes1, getRegressingTypes2
 
Methods inherited from class com.wewebu.expression.language.OwExprOperator
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final OwExprDivideOperator INSTANCE
Method Detail

evaluate

public OwExprValue evaluate(OwExprNumericValue v1_p,
                            OwExprNumericValue v2_p)
                     throws OwExprEvaluationException
Description copied from class: OwExprBinaryOperator
NUMERIC operator NUMERIC operation evaluation

Overrides:
evaluate in class OwExprBinaryOperator
Returns:
the resulted value as OwExprValue according to the conversion rules
Throws:
OwExprEvaluationException - if the operation fails for any reason (unsupported operand types , incompatible operands, unimplemented operation or operation failure at evaluation time)


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.