public class DoubleStatistics extends DoubleSummaryStatistics
Modifier and Type | Field and Description |
---|---|
static Collector<Double,DoubleStatistics,DoubleStatistics> |
COLLECTOR
The Collector.
|
static Collector<Number,DoubleStatistics,DoubleStatistics> |
NUMBERS
The Numbers.
|
Constructor and Description |
---|
DoubleStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
accept(double value) |
DoubleStatistics |
accept(double[] value)
Accept double statistics.
|
DoubleStatistics |
combine(DoubleStatistics other)
Combine double statistics.
|
double |
getStandardDeviation()
Gets standard deviation.
|
double |
getSumOfSquare()
Gets sum of square.
|
String |
toString() |
CharSequence |
toString(double scale)
To string string.
|
combine, getAverage, getCount, getMax, getMin, getSum
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen
@Nonnull public static Collector<Double,DoubleStatistics,DoubleStatistics> COLLECTOR
@Nonnull public static Collector<Number,DoubleStatistics,DoubleStatistics> NUMBERS
public void accept(double value)
accept
in interface DoubleConsumer
accept
in class DoubleSummaryStatistics
@Nonnull public DoubleStatistics accept(@Nonnull double[] value)
value
- the value@Nonnull public DoubleStatistics combine(@Nonnull DoubleStatistics other)
other
- the otherpublic final double getStandardDeviation()
public double getSumOfSquare()
public String toString()
toString
in class DoubleSummaryStatistics
public CharSequence toString(double scale)
scale
- the scaleCopyright © 2019 SimiaCryptus Software. All rights reserved.