| Modifier and Type | Method and Description |
|---|---|
| public void | accept(MonetaryAmount
the input amount value to be added, not null. amount)Records another value into the summary information. |
| public MonetarySummaryStatistics | combine(MonetarySummaryStatistics
another summaryStatistics)MonetarySummaryStatistics, not null.Combines the state of another |
| public MonetaryAmount | Returns: the mean average amount, or null if no amount was added to this summary instance.Get the mean average of all amounts added. |
| public long | Returns: the number of summarized items, >= 0.Get the number of items added to this summary instance. |
| public CurrencyUnit | |
| public MonetaryAmount | Returns: the minimal amount, or null if no amount was added to this summary instance.Get the maximal amount found within this summary. |
| public MonetaryAmount | Returns: the minimal amount, or null if no amount was added to this summary instance.Get the minimal amount found within this summary. |
| public MonetaryAmount | Returns: the total amount, or null if no amount was added to this summary instance.Get the sum of all amounts within this summary. |
| public boolean | Returns: false;return if is possible do exchange rate or not with the MonetarySummary |
| public MonetarySummaryStatistics | Returns: MonetarySummaryStatistics convertedto be converted unit)created the MonetarySummaryStatistics converted to |
| accept | back to summary |
|---|---|
| public void accept(MonetaryAmount amount) Records another value into the summary information.
| |
| combine | back to summary |
|---|---|
| public MonetarySummaryStatistics combine(MonetarySummaryStatistics summaryStatistics) Combines the state of another
| |
| getAverage | back to summary |
|---|---|
| public MonetaryAmount getAverage() Get the mean average of all amounts added.
| |
| getCount | back to summary |
|---|---|
| public long getCount() Get the number of items added to this summary instance.
| |
| getCurrencyUnit | back to summary |
|---|---|
| public CurrencyUnit getCurrencyUnit() the currency unit used in summary
| |
| getMax | back to summary |
|---|---|
| public MonetaryAmount getMax() Get the maximal amount found within this summary.
| |
| getMin | back to summary |
|---|---|
| public MonetaryAmount getMin() Get the minimal amount found within this summary.
| |
| getSum | back to summary |
|---|---|
| public MonetaryAmount getSum() Get the sum of all amounts within this summary.
| |
| isExchangeable | back to summary |
|---|---|
| public boolean isExchangeable() return if is possible do exchange rate or not with the MonetarySummary
| |
| to | back to summary |
|---|---|
| public MonetarySummaryStatistics to(CurrencyUnit unit) created the MonetarySummaryStatistics converted to
| |