Class IndexedUDFFinder

java.lang.Object
org.apache.poi.ss.formula.udf.AggregatingUDFFinder
org.apache.poi.ss.formula.udf.IndexedUDFFinder
All Implemented Interfaces:
UDFFinder

@Internal public class IndexedUDFFinder extends AggregatingUDFFinder
A UDFFinder that can retrieve functions both by name and by fake index.
Author:
Yegor Kozlov
  • Constructor Details

    • IndexedUDFFinder

      public IndexedUDFFinder(UDFFinder... usedToolPacks)
  • Method Details

    • findFunction

      public FreeRefFunction findFunction(String name)
      Description copied from class: AggregatingUDFFinder
      Returns executor by specified name. Returns null if function isn't contained by any registered tool pack.
      Specified by:
      findFunction in interface UDFFinder
      Overrides:
      findFunction in class AggregatingUDFFinder
      Parameters:
      name - Name of function.
      Returns:
      Function executor. null if not found
    • getFunctionName

      public String getFunctionName(int idx)
    • getFunctionIndex

      public int getFunctionIndex(String name)