java.io.Serializable
, java.util.function.Consumer<java.math.BigDecimal>
, Procedure<java.math.BigDecimal>
public class BigDecimalSummaryStatistics extends java.lang.Object implements Procedure<java.math.BigDecimal>
Constructor | Description |
---|---|
BigDecimalSummaryStatistics() |
Modifier and Type | Method | Description |
---|---|---|
java.math.BigDecimal |
getAverage() |
|
java.math.BigDecimal |
getAverage(java.math.MathContext context) |
|
long |
getCount() |
|
java.math.BigDecimal |
getMax() |
|
java.util.Optional<java.math.BigDecimal> |
getMaxOptional() |
|
java.math.BigDecimal |
getMin() |
|
java.util.Optional<java.math.BigDecimal> |
getMinOptional() |
|
java.math.BigDecimal |
getSum() |
|
BigDecimalSummaryStatistics |
merge(BigDecimalSummaryStatistics summaryStatistics) |
|
void |
value(java.math.BigDecimal each) |
public void value(java.math.BigDecimal each)
public long getCount()
public java.math.BigDecimal getSum()
public java.math.BigDecimal getMin()
public java.util.Optional<java.math.BigDecimal> getMinOptional()
public java.math.BigDecimal getMax()
public java.util.Optional<java.math.BigDecimal> getMaxOptional()
public java.math.BigDecimal getAverage(java.math.MathContext context)
public java.math.BigDecimal getAverage()
public BigDecimalSummaryStatistics merge(BigDecimalSummaryStatistics summaryStatistics)
Copyright © 2004–2020. All rights reserved.