FileDocCategorySizeDatePackage
FuncVarEval.javaAPI DocApache Poi 3.0.11878Sun Mar 11 12:59:28 GMT 2007org.apache.poi.hssf.record.formula.eval

FuncVarEval

public class FuncVarEval extends FunctionEval
author
Amol S. Deshmukh < amolweb at ya hoo dot com >

Fields Summary
private AbstractFunctionPtg
delegate
Constructors Summary
public FuncVarEval(Ptg funcPtg)

        delegate = (AbstractFunctionPtg) funcPtg;
    
Methods Summary
public Evalevaluate(Eval[] operands, int srcRow, short srcCol)

        Eval retval = null;
        Function f = getFunction();
        if (f != null)
            retval = f.evaluate(operands, srcRow, srcCol);
        else
            retval = ErrorEval.FUNCTION_NOT_IMPLEMENTED;
        return retval;
    
public shortgetFunctionIndex()

        return delegate.getFunctionIndex();
    
public intgetNumberOfOperands()

        return delegate.getNumberOfOperands();
    
public intgetType()

        return delegate.getType();