public class FloatSummaryStatistics extends Object implements FloatConsumer
Constructor and Description |
---|
FloatSummaryStatistics()
Instantiates a new float summary statistics.
|
FloatSummaryStatistics(long count,
double sum,
float min,
float max)
Instantiates a new float summary statistics.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(float value) |
u.OptionalDouble |
average() |
void |
combine(FloatSummaryStatistics other) |
Double |
getAverage()
Gets the average.
|
long |
getCount()
Gets the count.
|
float |
getMax()
Gets the max.
|
float |
getMin()
Gets the min.
|
Double |
getSum()
Gets the sum.
|
float |
sum() |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen
public FloatSummaryStatistics()
public FloatSummaryStatistics(long count, double sum, float min, float max)
count
- sum
- min
- max
- public void accept(float value)
accept
in interface FloatConsumer
accept
in interface Throwables.FloatConsumer<RuntimeException>
value
- public void combine(FloatSummaryStatistics other)
other
- public final float getMin()
public final float getMax()
public final long getCount()
public final Double getSum()
public final Double getAverage()
public final float sum()
public final u.OptionalDouble average()
Copyright © 2020. All rights reserved.