public final class NotImplementedFunction extends java.lang.Object implements Function
NotImplementedFunctionException
). This error should alert
the user that the formula contained a function that is not
yet implemented.Modifier | Constructor and Description |
---|---|
protected |
NotImplementedFunction() |
|
NotImplementedFunction(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
ValueEval |
evaluate(ValueEval[] operands,
int srcRow,
int srcCol) |
java.lang.String |
getFunctionName() |
protected NotImplementedFunction()
public NotImplementedFunction(java.lang.String name)
public ValueEval evaluate(ValueEval[] operands, int srcRow, int srcCol)
evaluate
in interface Function
operands
- the evaluated function arguments. Empty values are represented with
BlankEval
or MissingArgEval
, never null
.srcRow
- row index of the cell containing the formula under evaluationsrcCol
- column index of the cell containing the formula under evaluationErrorEval
, never null
.
Note - Excel uses the error code #NUM! instead of IEEE NaN, so when
numeric functions evaluate to Double.NaN
be sure to translate the result to ErrorEval.NUM_ERROR
.public java.lang.String getFunctionName()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.