org.jscience.ml.sbml.jep.type
Class DoubleNumberFactory

java.lang.Object
  extended by org.jscience.ml.sbml.jep.type.DoubleNumberFactory
All Implemented Interfaces:
NumberFactory

public class DoubleNumberFactory
extends java.lang.Object
implements NumberFactory

Default class for creating number objects. This class can be replaced by other NumberFactory implementations if other number types are required. This can be done using the


Constructor Summary
DoubleNumberFactory()
           
 
Method Summary
 java.lang.Object createNumber(double value)
          Creates a Double object initialized to the value of the parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleNumberFactory

public DoubleNumberFactory()
Method Detail

createNumber

public java.lang.Object createNumber(double value)
Creates a Double object initialized to the value of the parameter.

Specified by:
createNumber in interface NumberFactory
Parameters:
value - The initialization value for the returned object.
Returns:
DOCUMENT ME!