org.jfree.formula.function.userdefined
Class MappedFunction
java.lang.Object
org.jfree.formula.function.userdefined.MappedFunction
- All Implemented Interfaces:
- java.io.Serializable, Function
public class MappedFunction
- extends java.lang.Object
- implements Function
A function, that calls a method on a java class. The class is reinstantiated
each time the function is called (unless the method is static).
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedFunction
public MappedFunction()
getClassName
public java.lang.String getClassName()
getCanonicalName
public java.lang.String getCanonicalName()
- Specified by:
getCanonicalName
in interface Function
evaluate
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
- Specified by:
evaluate
in interface Function
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException