From 928a55612363e250dd329ac478ab08f69daacc13 Mon Sep 17 00:00:00 2001
From: Phil Steitz
- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param sumImpl the StorelessUnivariateStatistic instance to use for * computing the Sum @@ -447,9 +448,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the sum of squares. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param sumsqImpl the StorelessUnivariateStatistic instance to use for * computing the sum of squares @@ -476,9 +478,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the minimum. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param minImpl the StorelessUnivariateStatistic instance to use for * computing the minimum @@ -505,9 +508,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the maximum. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param maxImpl the StorelessUnivariateStatistic instance to use for * computing the maximum @@ -534,9 +538,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the sum of logs. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param sumLogImpl the StorelessUnivariateStatistic instance to use for * computing the log sum @@ -564,9 +569,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the geometric mean. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param geoMeanImpl the StorelessUnivariateStatistic instance to use for * computing the geometric mean @@ -593,9 +599,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the mean. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param meanImpl the StorelessUnivariateStatistic instance to use for * computing the mean @@ -622,9 +629,10 @@ public class SummaryStatistics implements StatisticalSummary, Serializable { * Sets the implementation for the variance. * *- * This method must be activated before any data has been added - i.e., - * before {@link #addValue(double) addValue} has been used to add data; - * otherwise an IllegalStateException will be thrown. + * This method cannot be activated after data has been added - i.e., + * after {@link #addValue(double) addValue} has been used to add data. + * If it is activated after data has been added, an IllegalStateException + * will be thrown. *
* @param varianceImpl the StorelessUnivariateStatistic instance to use for * computing the variance