org.apache.poi.hssf.record.formula.functions
Class NumericFunction.TwoArg

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.NumericFunction
      extended by org.apache.poi.hssf.record.formula.functions.NumericFunction.TwoArg
All Implemented Interfaces:
Function
Enclosing class:
NumericFunction

public abstract static class NumericFunction.TwoArg
extends NumericFunction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
NumericFunction.MultiArg, NumericFunction.OneArg, NumericFunction.TwoArg
 
Field Summary
 
Fields inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
ABS, ACOS, ACOSH, ASIN, ASINH, ATAN, ATAN2, ATANH, CEILING, COMBIN, COS, COSH, DEGREES, DOLLAR, EXP, FACT, FLOOR, INT, LN, LOG, LOG10, MOD, POWER, RADIANS, ROUND, ROUNDDOWN, ROUNDUP, SIGN, SIN, SINH, SQRT, TAN, TANH
 
Constructor Summary
protected NumericFunction.TwoArg()
           
 
Method Summary
protected  double eval(Eval[] args, int srcCellRow, short srcCellCol)
           
protected abstract  double evaluate(double d0, double d1)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
evaluate, singleOperandEvaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericFunction.TwoArg

protected NumericFunction.TwoArg()
Method Detail

eval

protected final double eval(Eval[] args,
                            int srcCellRow,
                            short srcCellCol)
                     throws EvaluationException
Specified by:
eval in class NumericFunction
Throws:
EvaluationException

evaluate

protected abstract double evaluate(double d0,
                                   double d1)
                            throws EvaluationException
Throws:
EvaluationException


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.