commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1054187 - in /commons/proper/math: branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java trunk/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
Date Sat, 01 Jan 2011 02:41:35 GMT
Author: psteitz
Date: Sat Jan  1 02:41:35 2011
New Revision: 1054187

URL: http://svn.apache.org/viewvc?rev=1054187&view=rev
Log:
Added missing javadoc comments.

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java?rev=1054187&r1=1054186&r2=1054187&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
Sat Jan  1 02:41:35 2011
@@ -33,10 +33,16 @@ public abstract class AbstractDistributi
     /** Serializable version identifier */
     private static final long serialVersionUID = -38038050983108802L;
 
+    /** Cached numerical mean */
     private double numericalMean = Double.NaN;
+    
+    /** Whether or not the numerical mean has been calculated */
     private boolean numericalMeanIsCalculated = false;
 
+    /** Cached numerical variance */
     private double numericalVariance = Double.NaN;
+    
+    /** Whether or not the numerical variance has been calculated */
     private boolean numericalVarianceIsCalculated = false;
 
     /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java?rev=1054187&r1=1054186&r2=1054187&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/AbstractDistribution.java
Sat Jan  1 02:41:35 2011
@@ -33,10 +33,16 @@ public abstract class AbstractDistributi
     /** Serializable version identifier */
     private static final long serialVersionUID = -38038050983108802L;
 
+    /** Cached numerical mean */
     private double numericalMean = Double.NaN;
-    private boolean numericalMeanIsCalculated = false;
     
+    /** Whether or not the numerical mean has been calculated */
+    private boolean numericalMeanIsCalculated = false;
+
+    /** Cached numerical variance */
     private double numericalVariance = Double.NaN;
+    
+    /** Whether or not the numerical variance has been calculated */
     private boolean numericalVarianceIsCalculated = false;
     
     /**



Mime
View raw message