org.jscience.ml.sbml.jep.type
Interface NumberFactory

All Known Implementing Classes:
DoubleNumberFactory

public interface NumberFactory

This interface can be implemented to create numbers of any object type. By implementing this interface and calling the setNumberFactory() method of the JEP class, the constants in an expression will be created with that class.


Method Summary
 java.lang.Object createNumber(double value)
          Creates a number object and initializes its value.
 

Method Detail

createNumber

java.lang.Object createNumber(double value)
Creates a number object and initializes its value.

Parameters:
value - The initial value of the number.
Returns:
DOCUMENT ME!