public class DoubleSummaryStatistics extends java.lang.Object implements DoubleConsumer
Constructor and Description |
---|
DoubleSummaryStatistics() |
DoubleSummaryStatistics(long count,
double sum,
double min,
double max) |
Modifier and Type | Method and Description |
---|---|
void |
accept(double value) |
void |
accept(float value) |
u.OptionalDouble |
average() |
void |
combine(DoubleSummaryStatistics other) |
java.lang.Double |
getAverage() |
long |
getCount() |
double |
getMax() |
double |
getMin() |
java.lang.Double |
getSum() |
double |
sum() |
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen
public DoubleSummaryStatistics()
public DoubleSummaryStatistics(long count, double sum, double min, double max)
public void accept(float value)
public void accept(double value)
accept
in interface Try.DoubleConsumer<java.lang.RuntimeException>
accept
in interface java.util.function.DoubleConsumer
public void combine(DoubleSummaryStatistics other)
public final double getMin()
public final double getMax()
public final long getCount()
public final java.lang.Double getSum()
public final java.lang.Double getAverage()
public final double sum()
public final u.OptionalDouble average()
public java.lang.String toString()
toString
in class java.lang.Object