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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.NumericFunction
All Implemented Interfaces:
Function
Direct Known Subclasses:
Abs, Acos, Acosh, Asin, Asinh, Atan, Atan2, Atanh, Ceiling, Combin, Cos, Cosh, Date, Day, Degrees, Dollar, Even, Exp, Fact, FinanceFunction, Floor, Int, Ln, Log, Log10, Mod, Month, MultiOperandNumericFunction, Odd, Power, Radians, Round, Rounddown, Roundup, Sign, Sin, Sinh, Sqrt, Tan, Tanh, Year

public abstract class NumericFunction
extends java.lang.Object
implements Function

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com >

Field Summary
protected static double E
           
protected static double PI
           
 
Constructor Summary
NumericFunction()
           
 
Method Summary
protected  ValueEvalToNumericXlator getXlator()
          this is the default impl of the factory(ish) method getXlator.
protected  ValueEval singleOperandEvaluate(Eval eval, int srcRow, short srcCol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.poi.hssf.record.formula.functions.Function
evaluate
 

Field Detail

E

protected static final double E
See Also:
Constant Field Values

PI

protected static final double PI
See Also:
Constant Field Values
Constructor Detail

NumericFunction

public NumericFunction()
Method Detail

getXlator

protected ValueEvalToNumericXlator getXlator()
this is the default impl of the factory(ish) method getXlator. Subclasses can override this method if they desire to return a different ValueEvalToNumericXlator instance than the default.


singleOperandEvaluate

protected ValueEval singleOperandEvaluate(Eval eval,
                                          int srcRow,
                                          short srcCol)


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