Thanks to Karl Richter.
This commit is contained in:
Gilles 2017-08-09 13:54:22 +02:00
parent e1f30a1c32
commit 05c28c05e9
1 changed files with 10 additions and 8 deletions

View File

@ -110,13 +110,15 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
private UnivariateStatistic sumImpl = new Sum(); private UnivariateStatistic sumImpl = new Sum();
/** /**
* Construct a DescriptiveStatistics instance with an infinite window. * Construct a {@code DescriptiveStatistics} instance with an infinite
* window.
*/ */
public DescriptiveStatistics() { public DescriptiveStatistics() {
} }
/** /**
* Construct a DescriptiveStatistics instance with the specified window. * Construct a {@code DescriptiveStatistics} instance with the specified
* window.
* *
* @param window the window size. * @param window the window size.
* @throws MathIllegalArgumentException if window size is less than 1 but * @throws MathIllegalArgumentException if window size is less than 1 but
@ -127,10 +129,10 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
} }
/** /**
* Construct a DescriptiveStatistics instance with an infinite window * Construct a {@code DescriptiveStatistics} instance with an infinite
* and the initial data values in double[] initialDoubleArray. * window and the initial data values in {@code initialDoubleArray}.
* If initialDoubleArray is null, then this constructor corresponds to * If {@code initialDoubleArray} is {@code null}, then this constructor
* DescriptiveStatistics() * corresponds to {@link #DescriptiveStatistics() }.
* *
* @param initialDoubleArray the initial double[]. * @param initialDoubleArray the initial double[].
*/ */
@ -141,8 +143,8 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
} }
/** /**
* Copy constructor. Construct a new DescriptiveStatistics instance that * Copy constructor. Construct a new {@code DescriptiveStatistics} instance
* is a copy of original. * that is a copy of {@code original}.
* *
* @param original DescriptiveStatistics instance to copy * @param original DescriptiveStatistics instance to copy
* @throws NullArgumentException if original is null * @throws NullArgumentException if original is null