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