|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.FunctionTable com.singularsys.jep.misc.nullwrapper.NullWrapperFunctionTable
public class NullWrapperFunctionTable
A function table which wraps all the functions in an existing table.
Field Summary |
---|
Fields inherited from class com.singularsys.jep.FunctionTable |
---|
table |
Constructor Summary | |
---|---|
NullWrapperFunctionTable(FunctionTable root)
Create a new function table which wraps all the functions in the original table. |
Method Summary | |
---|---|
protected PostfixMathCommandI |
getSpecialFunction(java.lang.String name,
PostfixMathCommandI fun)
Handles special functions, subclasses can override this method to add treatment of special functions. |
Methods inherited from class com.singularsys.jep.FunctionTable |
---|
addFunction, clear, containsKey, containsValue, entrySet, getFunction, getLightWeightInstance, init, isEmpty, keySet, remove, shallowCopy, size, toString, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NullWrapperFunctionTable(FunctionTable root)
getSpecialFunction(String, PostfixMathCommandI)
and if necessary NullWrapperFunctionFactory.getWrappedFunction(PostfixMathCommandI)
root
- the original tableMethod Detail |
---|
protected PostfixMathCommandI getSpecialFunction(java.lang.String name, PostfixMathCommandI fun)
NullWrappedIf
name
- name of the functionfun
- original function
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |