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 BigDecimal
getAverage()
BigDecimal
getAverage(MathContext context)
long
getCount()
BigInteger
getMax()
Optional<BigInteger>
getMaxOptional()
BigInteger
getMin()
Optional<BigInteger>
getMinOptional()
BigInteger
getSum()
BigIntegerSummaryStatistics
merge(BigIntegerSummaryStatistics summaryStatistics)
void
value(BigInteger each)
-
Constructor Details
-
BigIntegerSummaryStatistics
public BigIntegerSummaryStatistics()
-
-
Method Details
-
value
- Specified by:
value
in interfaceProcedure<BigInteger>
-
getCount
public long getCount() -
getSum
-
getMin
-
getMinOptional
-
getMax
-
getMaxOptional
-
getAverage
-
getAverage
-
merge
-