public final class FunctionEval
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static Function[] |
functions
Array elements corresponding to unimplemented functions are
null
(未实现函数对应的数组元素为空)
|
Modifier and Type | Method and Description |
---|---|
static Function |
getBasicFunction(int functionIndex) |
static java.util.Collection<java.lang.String> |
getNotSupportedFunctionNames()
Returns an array of function names NOT implemented by POI.
(返回 POI 未实现的函数名称数组。)
|
static java.util.Collection<java.lang.String> |
getSupportedFunctionNames()
Returns a collection of function names implemented by POI.
(返回 POI 实现的函数名称的集合。)
|
static void |
registerFunction(java.lang.String name, Function func)
Register a new function in runtime.
(在运行时注册一个新函数。)
|
protected static final Function[] functions
null
(未实现函数对应的数组元素为空)
public static Function getBasicFunction(int functionIndex)
null
if the specified functionIndex is for INDIRECT() or any external (add-in) function.
(如果指定的 functionIndex 用于 INDIRECT() 或任何外部(加载项)函数,则为 null。)
public static void registerFunction(java.lang.String name, Function func)
name
- the function name
(name - 函数名)
func
- the functoin to register
(func - 要注册的函数)
java.lang.IllegalArgumentException
- if the function is unknown or already registered.
(java.lang.IllegalArgumentException - 如果函数未知或已注册。)
public static java.util.Collection<java.lang.String> getSupportedFunctionNames()
public static java.util.Collection<java.lang.String> getNotSupportedFunctionNames()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.