Class Fixed0ArgFunction

java.lang.Object
org.apache.poi.ss.formula.functions.Fixed0ArgFunction
All Implemented Interfaces:
Function, Function0Arg

@Deprecated @Removal(version="6.0.0") public abstract class Fixed0ArgFunction extends Object implements Function0Arg
Deprecated.
replaced by lambda expressions in 5.1.0
Convenience base class for functions that only take zero arguments.
  • Constructor Details

    • Fixed0ArgFunction

      public Fixed0ArgFunction()
      Deprecated.
  • Method Details

    • evaluate

      public final ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex)
      Deprecated.
      Specified by:
      evaluate in interface Function
      Parameters:
      args - the evaluated function arguments. 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. 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.