fixed some missing serialVersionUID

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2007-02-12 19:37:49 +00:00
parent 08042a0c22
commit c768f73cf1
4 changed files with 15 additions and 0 deletions

View File

@ -26,4 +26,6 @@ import java.util.Random;
* @version $Revision:$ $Date$
*/
public class JDKRandomGenerator extends Random implements RandomGenerator {
/** Serializable version identifier */
private static final long serialVersionUID = -3561898582944940550L;
}

View File

@ -27,6 +27,9 @@ import java.util.Random;
*/
public class RandomAdaptor extends Random implements RandomGenerator {
/** Serializable version identifier */
private static final long serialVersionUID = 2570805822599485047L;
/** Wrapped randomGenerator instance */
private RandomGenerator randomGenerator = null;

View File

@ -28,6 +28,10 @@ import org.apache.commons.math.util.ContinuedFraction;
* @version $Revision$ $Date$
*/
public class Beta implements Serializable {
/** Serializable version identifier */
private static final long serialVersionUID = -3833485397404128220L;
/** Maximum allowed numerical error. */
private static final double DEFAULT_EPSILON = 10e-9;
@ -127,6 +131,9 @@ public class Beta implements Serializable {
ret = 1.0 - regularizedBeta(1.0 - x, b, a, epsilon, maxIterations);
} else {
ContinuedFraction fraction = new ContinuedFraction() {
private static final long serialVersionUID = -7658917278956100597L;
protected double getB(int n, double x) {
double ret;
double m;

View File

@ -28,6 +28,9 @@ import org.apache.commons.math.MathException;
*/
public class Erf implements Serializable {
/** Serializable version identifier */
private static final long serialVersionUID = 490960015010326571L;
/**
* Default constructor. Prohibit instantiation.
*/