Package com.landawn.abacus.util
Class BigIntegerSummaryStatistics
java.lang.Object
com.landawn.abacus.util.BigIntegerSummaryStatistics
- All Implemented Interfaces:
Consumer<BigInteger>
,Throwables.Consumer<BigInteger,
,RuntimeException> Consumer<BigInteger>
-
Constructor Summary
ConstructorDescriptionBigIntegerSummaryStatistics
(long count, BigInteger min, BigInteger max, BigInteger sum) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(BigInteger value) void
final BigDecimal
Gets the average.final long
getCount()
Gets the count.final BigInteger
getMax()
Gets the max.final BigInteger
getMin()
Gets the min.final BigInteger
getSum()
Gets the sum.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.landawn.abacus.util.function.Consumer
andThen, toThrowable
Methods inherited from interface com.landawn.abacus.util.Throwables.Consumer
unchecked
-
Constructor Details
-
BigIntegerSummaryStatistics
public BigIntegerSummaryStatistics() -
BigIntegerSummaryStatistics
- Parameters:
count
-min
-max
-sum
-
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<BigInteger>
- Specified by:
accept
in interfaceConsumer<BigInteger>
- Specified by:
accept
in interfaceThrowables.Consumer<BigInteger,
RuntimeException> - Parameters:
value
-
-
combine
- Parameters:
other
-
-
getMin
Gets the min.- Returns:
-
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
-