| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Predicate | Returns: the predicate from CurrencyUnitthe target currencies)javax. instancesCreate predicate that filters by CurrencyUnit. |
| public static Collector | |
| public static Collector | Returns: the MonetarySummaryStatisticsof MonetaryAmount group by MonetarySummary |
| public static Predicate | Returns: the Predicate between min and max.min value inclusive, not null. min, MonetaryAmount max value inclusive, not null. max)Creates a filter using the isBetween predicate. |
| public static Predicate | Returns: the predicate from CurrencyUnitthe target currencies)javax.Create predicate that filters by CurrencyUnit. |
| public static Predicate | Returns: the filter with isGreaterThan conditionsthe amount to be compared to. amount)Creates filter using isGreaterThan in MonetaryAmount. |
| public static Predicate | Returns: the filter with isGreaterThanOrEqualTo conditionsthe amount to be compared to. amount)Creates filter using isGreaterThanOrEqualTo in MonetaryAmount |
| public static Predicate | Returns: the filter with isLessThan conditionsthe amount to be compared to. amount)Creates filter using isLessThan in MonetaryAmount |
| public static Predicate | Returns: the filter with isLessThanOrEqualTo conditionsthe amount to be compared to. amount)Creates filter using isLessThanOrEqualTo in MonetaryAmount |
| pack-priv static MonetaryAmount | Returns: the larger ofa and b.an argument. a, MonetaryAmount another argument. b)Returns the greater of two |
| public static BinaryOperator | Returns: the max BinaryOperator, not null.Creates a BinaryOperator to calculate the maximum amount. |
| public static BinaryOperator | Returns: the maximum valuethe ExchangeRateProvider to convert the currencies provider)return the maximum value, if the monetary amounts have different currencies, will converter first using the given ExchangeRateProvider |
| pack-priv static MonetaryAmount | Returns: the smaller ofa and b.an argument. a, MonetaryAmount another argument. b)Returns the smaller of two |
| public static BinaryOperator | Returns: the minimum BinaryOperator, not null.Creates a BinaryOperator to calculate the minimum amount |
| public static BinaryOperator | Returns: the minimum valuethe ExchangeRateProvider to convert the currencies provider)return the minimum value, if the monetary amounts have different currencies, will converter first using the given ExchangeRateProvider |
| public static Comparator | Returns: the Comparator to sort by CurrencyUnit in ascending order, not null.Get a comparator for sorting CurrencyUnits ascending. |
| public static Comparator | Returns: the Comparator to sort by CurrencyUnit in descending order, not null.Get a comparator for sorting CurrencyUnits descending. |
| public static Comparator | Returns: the Comparator to sort by number in ascending way, not null.Get a comparator for sorting amount by number value ascending. |
| public static Comparator | Returns: the Comparator to sort by number in descending way, not null.Get a comparator for sorting amount by number value descending. |
| public static Comparator | sortValiable(final ExchangeRateProvider
the rate provider to be used. provider)
Deprecated
call #sortValuable instead of.
comparator to sort the |
| public static Comparator | Returns: the Descending order ofMonetaryFunctions#sortValuable(ExchangeRateProvider)the rate provider to be used. provider)
Deprecated
Use #sortValiableDesc instead of.
Descending order of
|
| public static Comparator | sortValuable(ExchangeRateProvider
the rate provider to be used, not null. provider)comparator to sort the |
| public static Comparator | Returns: the Descending order ofMonetaryFunctions#sortValuable(ExchangeRateProvider)the rate provider to be used, not null. provider)Descending order of
|
| public static MonetaryAmount | Returns: the sum ofa and bthe first operand a, MonetaryAmount the second operand b)Adds two monetary together |
| public static BinaryOperator | |
| public static BinaryOperator | Returns: the list convert to specific currency unitthe rate provider to be used, not null. provider, CurrencyUnit currency currency)return the sum and convert all values to specific currency using the provider, if necessary |
| public static Collector | Returns: the MonetarySummaryStatisticsthe target currencyUnit)javax.Creates a the summary of MonetaryAmounts. |
| public static Collector | Returns: the MonetarySummaryStatisticsthe target currencyUnit, ExchangeRateProvider javax.the rate provider provider)
Deprecated
Use #summarizingMonetary(CurrencyUnit) instead of.
reates a the summary of MonetaryAmounts. |
| MonetaryFunctions | back to summary |
|---|---|
| private MonetaryFunctions() Private constructor for static accessor class. | |
| filterByExcludingCurrency | back to summary |
|---|---|
| public static Predicate Create predicate that filters by CurrencyUnit.
| |
| groupByCurrencyUnit | back to summary |
|---|---|
| public static Collector Collector to group by CurrencyUnit
| |
| groupBySummarizingMonetary | back to summary |
|---|---|
| public static Collector of MonetaryAmount group by MonetarySummary
| |
| isBetween | back to summary |
|---|---|
| public static Predicate Creates a filter using the isBetween predicate.
| |
| isCurrency | back to summary |
|---|---|
| public static Predicate Create predicate that filters by CurrencyUnit.
| |
| isGreaterThan | back to summary |
|---|---|
| public static Predicate Creates filter using isGreaterThan in MonetaryAmount.
| |
| isGreaterThanOrEqualTo | back to summary |
|---|---|
| public static Predicate Creates filter using isGreaterThanOrEqualTo in MonetaryAmount
| |
| isLessThan | back to summary |
|---|---|
| public static Predicate Creates filter using isLessThan in MonetaryAmount
| |
| isLessThanOrEqualTo | back to summary |
|---|---|
| public static Predicate Creates filter using isLessThanOrEqualTo in MonetaryAmount
| |
| max | back to summary |
|---|---|
| pack-priv static MonetaryAmount max(MonetaryAmount a, MonetaryAmount b) Returns the greater of two
| |
| max | back to summary |
|---|---|
| public static BinaryOperator Creates a BinaryOperator to calculate the maximum amount.
| |
| max | back to summary |
|---|---|
| public static BinaryOperator return the maximum value, if the monetary amounts have different currencies, will converter first using the given ExchangeRateProvider
| |
| min | back to summary |
|---|---|
| pack-priv static MonetaryAmount min(MonetaryAmount a, MonetaryAmount b) Returns the smaller of two
| |
| min | back to summary |
|---|---|
| public static BinaryOperator Creates a BinaryOperator to calculate the minimum amount
| |
| min | back to summary |
|---|---|
| public static BinaryOperator return the minimum value, if the monetary amounts have different currencies, will converter first using the given ExchangeRateProvider
| |
| sortCurrencyUnit | back to summary |
|---|---|
| public static Comparator Get a comparator for sorting CurrencyUnits ascending.
| |
| sortCurrencyUnitDesc | back to summary |
|---|---|
| public static Comparator Get a comparator for sorting CurrencyUnits descending.
| |
| sortNumber | back to summary |
|---|---|
| public static Comparator Get a comparator for sorting amount by number value ascending.
| |
| sortNumberDesc | back to summary |
|---|---|
| public static Comparator Get a comparator for sorting amount by number value descending.
| |
| sortValiable | back to summary |
|---|---|
| public static Comparator Deprecated call #sortValuable instead of. comparator to sort the
| |
| sortValiableDesc | back to summary |
|---|---|
| public static Comparator Deprecated Use #sortValiableDesc instead of. Descending order of
| |
| sortValuable | back to summary |
|---|---|
| public static Comparator comparator to sort the
| |
| sortValuableDesc | back to summary |
|---|---|
| public static Comparator Descending order of
| |
| sum | back to summary |
|---|---|
| public static MonetaryAmount sum(MonetaryAmount a, MonetaryAmount b) Adds two monetary together
| |
| sum | back to summary |
|---|---|
| public static BinaryOperator Creates a BinaryOperator to sum.
| |
| sum | back to summary |
|---|---|
| public static BinaryOperator return the sum and convert all values to specific currency using the provider, if necessary
| |
| summarizingMonetary | back to summary |
|---|---|
| public static Collector Creates a the summary of MonetaryAmounts.
| |
| summarizingMonetary | back to summary |
|---|---|
| public static Collector Deprecated Use #summarizingMonetary(CurrencyUnit) instead of. reates a the summary of MonetaryAmounts.
| |