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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAverage(MathContext context) longgetCount()getMax()getMin()getSum()merge(BigDecimalSummaryStatistics summaryStatistics) voidvalue(BigDecimal each)
-
Constructor Details
-
BigDecimalSummaryStatistics
public BigDecimalSummaryStatistics()
-
-
Method Details
-
value
- Specified by:
valuein interfaceProcedure<BigDecimal>
-
getCount
public long getCount() -
getSum
-
getMin
-
getMinOptional
-
getMax
-
getMaxOptional
-
getAverage
-
getAverage
-
merge
-