Class BigIntegerSummaryStatistics
java.lang.Object
org.eclipse.collections.impl.collector.BigIntegerSummaryStatistics
- All Implemented Interfaces:
Serializable, Consumer<BigInteger>, Procedure<BigInteger>
BigIntegerSummaryStatistics can be used to keep a rolling count, sum, min, max and average of BigInteger values.
- Since:
- 8.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate BigIntegerprivate BigIntegerprivate static final longprivate BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAverage(MathContext context) longgetCount()getMax()getMin()getSum()merge(BigIntegerSummaryStatistics summaryStatistics) voidvalue(BigInteger each)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
count
private long count -
sum
-
min
-
max
-
-
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
-