|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.formula.eval.FunctionEval
public final class FunctionEval
Field Summary | |
---|---|
protected static Function[] |
functions
Array elements corresponding to unimplemented functions are null |
Constructor Summary | |
---|---|
FunctionEval(AbstractFunctionPtg funcPtg)
|
Method Summary | |
---|---|
ValueEval |
evaluate(ValueEval[] args,
OperationEvaluationContext ec)
|
int |
getNumberOfOperands()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Function[] functions
null
Constructor Detail |
---|
public FunctionEval(AbstractFunctionPtg funcPtg)
Method Detail |
---|
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec)
evaluate
in interface OperationEval
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
ErrorEval
, never null
.public int getNumberOfOperands()
getNumberOfOperands
in interface OperationEval
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |