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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.NumericFunction
      extended by org.apache.poi.hssf.record.formula.functions.FinanceFunction
All Implemented Interfaces:
Function
Direct Known Subclasses:
Fv, Nper, Pmt, Pv

public abstract class FinanceFunction
extends NumericFunction

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com > Super class for all Evals for financial function evaluation.

Field Summary
 
Fields inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
E, PI
 
Constructor Summary
FinanceFunction()
           
 
Method Summary
protected  ValueEvalToNumericXlator getXlator()
          this is the default impl of the factory(ish) method getXlator.
protected  ValueEval singleOperandNumericAsBoolean(Eval eval, int srcRow, short srcCol)
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction
singleOperandEvaluate
 
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
 

Constructor Detail

FinanceFunction

public FinanceFunction()
Method Detail

getXlator

protected final 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.

Overrides:
getXlator in class NumericFunction

singleOperandNumericAsBoolean

protected final ValueEval singleOperandNumericAsBoolean(Eval eval,
                                                        int srcRow,
                                                        short srcCol)


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