You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2008/02/10 21:17:25 UTC

svn commit: r620318 - /commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java

Author: psteitz
Date: Sun Feb 10 12:17:24 2008
New Revision: 620318

URL: http://svn.apache.org/viewvc?rev=620318&view=rev
Log:
Improved javadoc for implementation setters / getters.

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java?rev=620318&r1=620317&r2=620318&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.java Sun Feb 10 12:17:24 2008
@@ -435,14 +435,20 @@
     // Implementation getters and setter
     
     /**
-     * @return the meanImpl
+     * Returns the currently configured mean implementation.
+     * 
+     * @return the UnivariateStatistic implementing the mean
+     * @since 1.2
      */
     public synchronized UnivariateStatistic getMeanImpl() {
         return meanImpl;
     }
 
     /**
-     * @param meanImpl the meanImpl to set
+     * <p>Sets the implementation for the mean.</p>
+     * 
+     * @param meanImpl the UnivariateStatistic instance to use
+     * for computing the mean
      * @since 1.2
      */
     public synchronized void setMeanImpl(UnivariateStatistic meanImpl) {
@@ -450,7 +456,9 @@
     }
 
     /**
-     * @return the geometricMeanImpl
+     * Returns the currently configured geometric mean implementation.
+     * 
+     * @return the UnivariateStatistic implementing the geometric mean
      * @since 1.2
      */
     public synchronized UnivariateStatistic getGeometricMeanImpl() {
@@ -458,7 +466,10 @@
     }
 
     /**
-     * @param geometricMeanImpl the geometricMeanImpl to set
+     * <p>Sets the implementation for the gemoetric mean.</p>
+     * 
+     * @param geometricMeanImpl the UnivariateStatistic instance to use
+     * for computing the geometric mean
      * @since 1.2
      */
     public synchronized void setGeometricMeanImpl(
@@ -467,7 +478,9 @@
     }
 
     /**
-     * @return the kurtosisImpl
+     * Returns the currently configured kurtosis implementation.
+     * 
+     * @return the UnivariateStatistic implementing the kurtosis
      * @since 1.2
      */
     public synchronized UnivariateStatistic getKurtosisImpl() {
@@ -475,7 +488,10 @@
     }
 
     /**
-     * @param kurtosisImpl the kurtosisImpl to set
+     * <p>Sets the implementation for the kurtosis.</p>
+     * 
+     * @param kurtosisImpl the UnivariateStatistic instance to use
+     * for computing the kurtosis
      * @since 1.2
      */
     public synchronized void setKurtosisImpl(UnivariateStatistic kurtosisImpl) {
@@ -483,7 +499,9 @@
     }
 
     /**
-     * @return the maxImpl
+     * Returns the currently configured maximum implementation.
+     * 
+     * @return the UnivariateStatistic implementing the maximum
      * @since 1.2
      */
     public synchronized UnivariateStatistic getMaxImpl() {
@@ -491,7 +509,10 @@
     }
 
     /**
-     * @param maxImpl the maxImpl to set
+     * <p>Sets the implementation for the maximum.</p>
+     * 
+     * @param maxImpl the UnivariateStatistic instance to use
+     * for computing the maximum
      * @since 1.2
      */
     public synchronized void setMaxImpl(UnivariateStatistic maxImpl) {
@@ -499,7 +520,9 @@
     }
 
     /**
-     * @return the minImpl
+     * Returns the currently configured minimum implementation.
+     * 
+     * @return the UnivariateStatistic implementing the minimum
      * @since 1.2
      */
     public synchronized UnivariateStatistic getMinImpl() {
@@ -507,7 +530,10 @@
     }
 
     /**
-     * @param minImpl the minImpl to set
+     * <p>Sets the implementation for the minimum.</p>
+     * 
+     * @param minImpl the UnivariateStatistic instance to use
+     * for computing the minimum
      * @since 1.2
      */
     public synchronized void setMinImpl(UnivariateStatistic minImpl) {
@@ -515,7 +541,9 @@
     }
 
     /**
-     * @return the percentileImpl
+     * Returns the currently configured percentile implementation.
+     * 
+     * @return the UnivariateStatistic implementing the percentile
      * @since 1.2
      */
     public synchronized UnivariateStatistic getPercentileImpl() {
@@ -553,7 +581,9 @@
     }
 
     /**
-     * @return the skewnessImpl
+     * Returns the currently configured skewness implementation.
+     * 
+     * @return the UnivariateStatistic implementing the skewness
      * @since 1.2
      */
     public synchronized UnivariateStatistic getSkewnessImpl() {
@@ -561,7 +591,10 @@
     }
 
     /**
-     * @param skewnessImpl the skewnessImpl to set
+     * <p>Sets the implementation for the skewness.</p>
+     * 
+     * @param skewnessImpl the UnivariateStatistic instance to use
+     * for computing the skewness
      * @since 1.2
      */
     public synchronized void setSkewnessImpl(
@@ -570,7 +603,9 @@
     }
 
     /**
-     * @return the varianceImpl
+     * Returns the currently configured variance implementation.
+     * 
+     * @return the UnivariateStatistic implementing the variance
      * @since 1.2
      */
     public synchronized UnivariateStatistic getVarianceImpl() {
@@ -578,7 +613,10 @@
     }
 
     /**
-     * @param varianceImpl the varianceImpl to set
+     * <p>Sets the implementation for the variance.</p>
+     * 
+     * @param varianceImpl the UnivariateStatistic instance to use
+     * for computing the variance
      * @since 1.2
      */
     public synchronized void setVarianceImpl(
@@ -587,7 +625,9 @@
     }
 
     /**
-     * @return the sumsqImpl
+     * Returns the currently configured sum of squares implementation.
+     * 
+     * @return the UnivariateStatistic implementing the sum of squares
      * @since 1.2
      */
     public synchronized UnivariateStatistic getSumsqImpl() {
@@ -595,7 +635,10 @@
     }
 
     /**
-     * @param sumsqImpl the sumsqImpl to set
+     * <p>Sets the implementation for the sum of squares.</p>
+     * 
+     * @param sumsqImpl the UnivariateStatistic instance to use
+     * for computing the sum of squares
      * @since 1.2
      */
     public synchronized void setSumsqImpl(UnivariateStatistic sumsqImpl) {
@@ -603,7 +646,9 @@
     }
 
     /**
-     * @return the sumImpl
+     * Returns the currently configured sum implementation.
+     * 
+     * @return the UnivariateStatistic implementing the sum
      * @since 1.2
      */
     public synchronized UnivariateStatistic getSumImpl() {
@@ -611,7 +656,10 @@
     }
 
     /**
-     * @param sumImpl the sumImpl to set
+     * <p>Sets the implementation for the sum.</p>
+     * 
+     * @param sumImpl the UnivariateStatistic instance to use
+     * for computing the sum
      * @since 1.2
      */
     public synchronized void setSumImpl(UnivariateStatistic sumImpl) {