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

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.NumericFunction
      extended by org.apache.poi.hssf.record.formula.functions.NumericFunction.OneArg
All Implemented Interfaces:
Function
Direct Known Subclasses:
Even, Odd
Enclosing class:
NumericFunction

public abstract static class NumericFunction.OneArg
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.OneArg()
           
 
Method Summary
protected  double eval(Eval[] args, int srcCellRow, short srcCellCol)
           
protected abstract  double evaluate(double d)
           
 
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.OneArg

protected NumericFunction.OneArg()
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 d)
                            throws EvaluationException
Throws:
EvaluationException


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