Package com.landawn.abacus.util
Class FloatSummaryStatistics
java.lang.Object
com.landawn.abacus.util.FloatSummaryStatistics
- All Implemented Interfaces:
FloatConsumer
,Throwables.FloatConsumer<RuntimeException>
-
Constructor Details
-
FloatSummaryStatistics
public FloatSummaryStatistics() -
FloatSummaryStatistics
public FloatSummaryStatistics(long count, float min, float max, double sum) - Parameters:
count
-min
-max
-sum
-
-
-
Method Details
-
accept
public void accept(float value) - Specified by:
accept
in interfaceFloatConsumer
- Specified by:
accept
in interfaceThrowables.FloatConsumer<RuntimeException>
- Parameters:
value
-
-
combine
- Parameters:
other
-
-
getMin
public final float getMin()Gets the min.- Returns:
-
getMax
public final float getMax()Gets the max.- Returns:
-
getCount
public final long getCount()Gets the count.- Returns:
-
getSum
Gets the sum.- Returns:
-
getAverage
Gets the average.- Returns:
-
toString
-