java.lang.Object
com.hartmath.mapping.ConstantNumericEvaluator
- All Implemented Interfaces:
- FunctionEvaluator
- Direct Known Subclasses:
- ConstantEvaluator
- public class ConstantNumericEvaluator
- extends java.lang.Object
- implements FunctionEvaluator
Interface that represents a function evaluation object. FunctionEvaluator is
used as an interface for built-in functions, which are associated with a
symbol.
- Version:
- %I%, %G%
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numericValue
com.hartmath.expression.HObject numericValue
ConstantNumericEvaluator
public ConstantNumericEvaluator(com.hartmath.expression.HObject nVal)
- Constructor for the ConstantNumericEvaluator object
getNumericValue
public com.hartmath.expression.HObject getNumericValue()
- Gets the numericValue attribute of the ConstantNumericEvaluator object
evaluate
public com.hartmath.expression.HObject evaluate(com.hartmath.expression.HFunction fun)
- Evaluate the given function if possible.
- Specified by:
evaluate in interface FunctionEvaluator