Package com.landawn.abacus.util
Class IntSummaryStatistics
java.lang.Object
com.landawn.abacus.util.IntSummaryStatistics
- All Implemented Interfaces:
IntConsumer
,Throwables.IntConsumer<RuntimeException>
,IntConsumer
-
Constructor Details
-
IntSummaryStatistics
public IntSummaryStatistics() -
IntSummaryStatistics
public IntSummaryStatistics(long count, int min, int max, long sum)
-
-
Method Details
-
accept
public void accept(int value) - Specified by:
accept
in interfaceIntConsumer
- Specified by:
accept
in interfaceIntConsumer
- Specified by:
accept
in interfaceThrowables.IntConsumer<RuntimeException>
- Parameters:
value
-
-
combine
- Parameters:
other
-
-
getMin
public final int getMin()Gets the min.- Returns:
-
getMax
public final int 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
-