Class BigIntegerSummaryStatistics
java.lang.Object
org.eclipse.collections.impl.collector.BigIntegerSummaryStatistics
- All Implemented Interfaces:
Serializable,Consumer<BigInteger>,Procedure<BigInteger>
public class BigIntegerSummaryStatistics extends Object implements Procedure<BigInteger>
BigIntegerSummaryStatistics can be used to keep a rolling count, sum, min, max and average of BigInteger values.
-
Constructor Summary
Constructors Constructor Description BigIntegerSummaryStatistics() -
Method Summary
Modifier and Type Method Description BigDecimalgetAverage()BigDecimalgetAverage(MathContext context)longgetCount()BigIntegergetMax()Optional<BigInteger>getMaxOptional()BigIntegergetMin()Optional<BigInteger>getMinOptional()BigIntegergetSum()BigIntegerSummaryStatisticsmerge(BigIntegerSummaryStatistics summaryStatistics)voidvalue(BigInteger each)
-
Constructor Details
-
BigIntegerSummaryStatistics
public BigIntegerSummaryStatistics()
-
-
Method Details
-
value
- Specified by:
valuein interfaceProcedure<BigInteger>
-
getCount
public long getCount() -
getSum
-
getMin
-
getMinOptional
-
getMax
-
getMaxOptional
-
getAverage
-
getAverage
-
merge
-