added missing serialVersionUID

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@705231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2008-10-16 12:49:13 +00:00
parent 098eaa3a78
commit 0e77ce68b3
9 changed files with 28 additions and 1 deletions

View File

@ -51,7 +51,10 @@ import java.io.Serializable;
public abstract class WeightedMeasurement implements Serializable {
/**
/** Serializable version identifier. */
private static final long serialVersionUID = 4360046376796901941L;
/**
* Simple constructor.
* Build a measurement with the given parameters, and set its ignore
* flag to false.

View File

@ -33,6 +33,9 @@ import org.apache.commons.math.ode.sampling.StepHandler;
*/
public abstract class AbstractIntegrator implements FirstOrderIntegrator {
/** Serializable version identifier. */
private static final long serialVersionUID = 5771479854166853494L;
/** Name of the method. */
private final String name;

View File

@ -54,6 +54,9 @@ import org.apache.commons.math.ode.IntegratorException;
public abstract class AdaptiveStepsizeIntegrator
extends AbstractIntegrator {
/** Serializable version identifier. */
private static final long serialVersionUID = -6883579828273958419L;
/** Build an integrator with the given stepsize bounds.
* The default step handler does nothing.
* @param name name of the method

View File

@ -65,6 +65,9 @@ import org.apache.commons.math.ode.sampling.StepHandler;
public abstract class EmbeddedRungeKuttaIntegrator
extends AdaptiveStepsizeIntegrator {
/** Serializable version identifier. */
private static final long serialVersionUID = -8436701741819010959L;
/** Build a Runge-Kutta integrator with the given Butcher array.
* @param name name of the method
* @param fsal indicate that the method is an <i>fsal</i>

View File

@ -46,6 +46,9 @@ import org.apache.commons.math.ode.sampling.StepNormalizer;
*/
public abstract class MultistepIntegrator extends AbstractIntegrator {
/** Serializable version identifier. */
private static final long serialVersionUID = -1705864253238417163L;
/** Starter integrator. */
private FirstOrderIntegrator starter;

View File

@ -54,6 +54,9 @@ import org.apache.commons.math.ode.sampling.StepHandler;
public abstract class RungeKuttaIntegrator extends AbstractIntegrator {
/** Serializable version identifier. */
private static final long serialVersionUID = -5346558921715095559L;
/** Simple constructor.
* Build a Runge-Kutta integrator with the given
* step. The default step handler does nothing.

View File

@ -32,6 +32,9 @@ package org.apache.commons.math.random;
*/
public abstract class AbstractRandomGenerator implements RandomGenerator {
/** Serializable version identifier. */
private static final long serialVersionUID = 7026539017027693474L;
/**
* Cached random normal value. The default implementation for
* {@link #nextGaussian} generates pairs of values and this field caches the

View File

@ -30,6 +30,9 @@ import java.util.Locale;
*/
public abstract class CompositeFormat extends Format {
/** Serializable version identifier. */
private static final long serialVersionUID = 5358685519349262494L;
/**
* Create a default number format. The default number format is based on
* {@link NumberFormat#getInstance()} with the only customizing that the

View File

@ -27,6 +27,9 @@ import org.apache.commons.math.ode.events.EventHandler;
public abstract class TestProblemAbstract
implements FirstOrderDifferentialEquations, Cloneable {
/** Serializable version identifier. */
private static final long serialVersionUID = -8521928974502839379L;
/** Dimension of the problem. */
protected int n;