Class BigDecimalSummaryStatistics
java.lang.Object
org.eclipse.collections.impl.collector.BigDecimalSummaryStatistics
- All Implemented Interfaces:
Serializable
,Consumer<BigDecimal>
,Procedure<BigDecimal>
BigDecimalSummaryStatistics can be used to keep a rolling count, sum, min, max and average of BigDecimal values.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAverage
(MathContext context) long
getCount()
getMax()
getMin()
getSum()
merge
(BigDecimalSummaryStatistics summaryStatistics) void
value
(BigDecimal each)
-
Constructor Details
-
BigDecimalSummaryStatistics
public BigDecimalSummaryStatistics()
-
-
Method Details
-
value
- Specified by:
value
in interfaceProcedure<BigDecimal>
-
getCount
public long getCount() -
getSum
-
getMin
-
getMinOptional
-
getMax
-
getMaxOptional
-
getAverage
-
getAverage
-
merge
-