public class FunctionConfig extends Configuration implements FCloneable
| 构造器和说明 |
|---|
FunctionConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFunctionDef(FunctionDef funcitonDef)
添加函数
|
void |
clearAllFunctionDef()
清除所有的函数
|
java.lang.Object |
clone() |
FunctionDef |
getFunctionDef(int index)
Return the funciton definition at given position
|
int |
getFunctionDefCount()
Return the count of function definition.
|
static FunctionConfig |
getInstance() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
void |
removeFunctionDef(int index)
删除函数
|
initialize, mirrorpublic static FunctionConfig getInstance()
public void addFunctionDef(FunctionDef funcitonDef)
funcitonDef - 函数定义public int getFunctionDefCount()
public FunctionDef getFunctionDef(int index)
public void removeFunctionDef(int index)
index - 索引public void clearAllFunctionDef()
public java.lang.String getNameSpace()
ConfigurationgetNameSpace 在类中 Configurationpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 Configurationjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常