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