Adding serialversionUID to control versioning and allow for implementations that would like to maintain serialization.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141270 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark R. Diggory 2004-06-02 00:24:52 +00:00
parent 45f78a21b9
commit 7f04479e5c
3 changed files with 11 additions and 3 deletions

View File

@ -53,10 +53,12 @@ import org.apache.commons.math.stat.univariate.SummaryStatistics;
* entry per line.</li>
* </ul></p>
*
* @version $Revision: 1.19 $ $Date: 2004/04/26 19:15:48 $
* @version $Revision: 1.20 $ $Date: 2004/06/02 00:20:21 $
*/
public class EmpiricalDistributionImpl implements Serializable, EmpiricalDistribution {
/** Serializable version identifier */
static final long serialVersionUID = -6773236347582113490L;
/** List of DescriptiveStatistics objects characterizing the bins */
private ArrayList binStats = null;

View File

@ -66,10 +66,13 @@ import java.util.Collection;
* (so secure sequences started with calls to reseedSecure(long) won't be
* identical).</li></ul>
*
* @version $Revision: 1.13 $ $Date: 2004/04/11 19:00:45 $
* @version $Revision: 1.14 $ $Date: 2004/06/02 00:20:21 $
*/
public class RandomDataImpl implements RandomData, Serializable {
/** Serializable version identifier */
static final long serialVersionUID = -626730818244969716L;
/** underlying random number generator */
private Random rand = null;

View File

@ -32,10 +32,13 @@ import org.apache.commons.collections.bag.TreeBag;
* The values are ordered using the default (natural order), unless a <code>Comparator</code>
* is supplied in the constructor.
*
* @version $Revision: 1.21 $ $Date: 2004/05/31 20:57:12 $
* @version $Revision: 1.22 $ $Date: 2004/06/02 00:24:52 $
*/
public class Frequency implements Serializable {
/** Serializable version identifier */
static final long serialVersionUID = -3845586908418844111L;
/** underlying collection */
private SortedBag freqTable = null;