org.apache.poi.hssf.record.formula.eval
Interface OperationEval

All Known Implementing Classes:
AddEval, ConcatEval, DivideEval, EqualEval, FunctionEval, FuncVarEval, GreaterEqualEval, GreaterThanEval, LessEqualEval, LessThanEval, MultiplyEval, NotEqualEval, PercentEval, PowerEval, RangeEval, RelationalOperationEval, SubtractEval, UnaryMinusEval, UnaryPlusEval

public interface OperationEval

Common interface for implementations of Excel formula operations.

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

Method Summary
 Eval evaluate(Eval[] args, int srcRowIndex, short srcColumnIndex)
           
 int getNumberOfOperands()
           
 

Method Detail

evaluate

Eval evaluate(Eval[] args,
              int srcRowIndex,
              short srcColumnIndex)
Parameters:
args - the evaluated operation arguments. Elements of this array typically implement ValueEval. Empty values are represented with BlankEval or MissingArgEval, never null.
srcRowIndex - row index of the cell containing the formula under evaluation
srcColumnIndex - column index of the cell containing the formula under evaluation
Returns:
The evaluated result, possibly an ErrorEval, never null.

getNumberOfOperands

int getNumberOfOperands()


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