commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdigg...@apache.org
Subject cvs commit: jakarta-commons/math/src/test/org/apache/commons/math/analysis QuinticFunction.java
Date Wed, 02 Jun 2004 00:12:01 GMT
mdiggory    2004/06/01 17:12:01

  Modified:    math/src/test/org/apache/commons/math/analysis
                        QuinticFunction.java
  Log:
  Test Example for serialization of Solvers and Functions.
  
  Revision  Changes    Path
  1.13      +6 -2      jakarta-commons/math/src/test/org/apache/commons/math/analysis/QuinticFunction.java
  
  Index: QuinticFunction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/analysis/QuinticFunction.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- QuinticFunction.java	8 Apr 2004 21:19:17 -0000	1.12
  +++ QuinticFunction.java	2 Jun 2004 00:12:01 -0000	1.13
  @@ -15,6 +15,8 @@
    */
   package org.apache.commons.math.analysis;
   
  +import java.io.Serializable;
  +
   import org.apache.commons.math.MathException;
   
   /**
  @@ -22,7 +24,9 @@
    *
    * @version $Revision$ $Date$ 
    */
  -public class QuinticFunction implements DifferentiableUnivariateRealFunction {
  +public class QuinticFunction implements DifferentiableUnivariateRealFunction, Serializable
{
  +
  +    static final long serialVersionUID = -8866263034920607152L;
   
       /* Evaluate quintic.
        * @see org.apache.commons.math.UnivariateRealFunction#value(double)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message