Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hartmath.mapping
Class ConstantNumericEvaluator  view ConstantNumericEvaluator download ConstantNumericEvaluator.java

java.lang.Object
  extended bycom.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%

Field Summary
(package private)  com.hartmath.expression.HObject numericValue
           
 
Constructor Summary
ConstantNumericEvaluator(com.hartmath.expression.HObject nVal)
          Constructor for the ConstantNumericEvaluator object
 
Method Summary
 com.hartmath.expression.HObject evaluate(com.hartmath.expression.HFunction fun)
          Evaluate the given function if possible.
 com.hartmath.expression.HObject getNumericValue()
          Gets the numericValue attribute of the ConstantNumericEvaluator object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numericValue

com.hartmath.expression.HObject numericValue
Constructor Detail

ConstantNumericEvaluator

public ConstantNumericEvaluator(com.hartmath.expression.HObject nVal)
Constructor for the ConstantNumericEvaluator object

Method Detail

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