Top Description Fields Constructors Methods
org.eclipse.collections.impl.collector

public Class BigIntegerSummaryStatistics

extends Object
implements Procedure<BigInteger>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure, java.io.Serializable, java.util.function.Consumer
Imports
java.math.BigDecimal, .BigInteger, .MathContext, java.util.Optional, org.eclipse.collections.api.block.procedure.Procedure

BigIntegerSummaryStatistics can be used to keep a rolling count, sum, min, max and average of BigInteger values.
Since
8.1
See Also
Collectors2#summarizingBigInteger(org.eclipse.collections.api.block.function.Function)

Field Summary

Modifier and TypeField and Description
private long
private BigInteger
private BigInteger
private static final long
private BigInteger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BigDecimal
public BigDecimal
public long
public BigInteger
public Optional<BigInteger>
public BigInteger
public Optional<BigInteger>
public BigInteger
public BigIntegerSummaryStatistics
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countback to summary
private long count
maxback to summary
private BigInteger max
minback to summary
private BigInteger min
serialVersionUIDback to summary
private static final long serialVersionUID
sumback to summary
private BigInteger sum

Constructor Detail

BigIntegerSummaryStatisticsback to summary
public BigIntegerSummaryStatistics()

Method Detail

getAverageback to summary
public BigDecimal getAverage(MathContext context)
getAverageback to summary
public BigDecimal getAverage()
getCountback to summary
public long getCount()
getMaxback to summary
public BigInteger getMax()
getMaxOptionalback to summary
public Optional<BigInteger> getMaxOptional()
getMinback to summary
public BigInteger getMin()
getMinOptionalback to summary
public Optional<BigInteger> getMinOptional()
getSumback to summary
public BigInteger getSum()
mergeback to summary
public BigIntegerSummaryStatistics merge(BigIntegerSummaryStatistics summaryStatistics)
valueback to summary
public void value(BigInteger each)

Implements org.eclipse.collections.api.block.procedure.Procedure.value.

Annotations
@Override