org.apache.poi.hssf.record.formula.eval
Interface OperationEval
- All Known Implementing Classes:
- FunctionEval
public interface OperationEval
Common interface for implementations of Excel formula operations.
- Author:
- Amol S. Deshmukh < amolweb at ya hoo dot com >
evaluate
ValueEval evaluate(ValueEval[] args,
OperationEvaluationContext ec)
- Parameters:
args
- the evaluated operation arguments. Elements of this array typically implement
ValueEval
. Empty values are represented with BlankEval
or MissingArgEval
, never null
.ec
- used to identify the current cell under evaluation, and potentially to
dynamically create references
- Returns:
- The evaluated result, possibly an
ErrorEval
, never null
.
getNumberOfOperands
int getNumberOfOperands()
Copyright 2009 The Apache Software Foundation or
its licensors, as applicable.