Top Description Fields Constructors Methods
org.apache.poi.ss.formula.udf

public Class IndexedUDFFinder

extends AggregatingUDFFinder
Class Inheritance
Annotations
@Internal
Imports
org.apache.poi.ss.formula.functions.FreeRefFunction, org.apache.poi.util.Internal, java.util.HashMap

A UDFFinder that can retrieve functions both by name and by fake index.

Field Summary

Modifier and TypeField and Description
private final HashMap<Integer, String>
Inherited from org.apache.poi.ss.formula.udf.AggregatingUDFFinder:
DEFAULT

Constructor Summary

AccessConstructor and Description
public
IndexedUDFFinder(UDFFinder... usedToolPacks)

Method Summary

Modifier and TypeMethod and Description
public FreeRefFunction
public int
public String
getFunctionName(int idx)

Inherited from org.apache.poi.ss.formula.udf.AggregatingUDFFinder:
add

Field Detail

_funcMapback to summary
private final HashMap<Integer, String> _funcMap

Constructor Detail

IndexedUDFFinderback to summary
public IndexedUDFFinder(UDFFinder... usedToolPacks)

Method Detail

findFunctionback to summary
public FreeRefFunction findFunction(String name)

Overrides org.apache.poi.ss.formula.udf.AggregatingUDFFinder.findFunction.

Implements org.apache.poi.ss.formula.udf.UDFFinder.findFunction.

Doc from org.apache.poi.ss.formula.udf.AggregatingUDFFinder.findFunction.

Returns executor by specified name. Returns null if function isn't contained by any registered tool pack.

Parameters
name:String

Name of function.

Returns:FreeRefFunction

Function executor. null if not found

Annotations
@Override
getFunctionIndexback to summary
public int getFunctionIndex(String name)
getFunctionNameback to summary
public String getFunctionName(int idx)