public final class FastMoneyProducer extends Object implements MonetaryAmountProducer
MonetaryAmountProducer that creates MonetaryAmount
using FastMoney implementation.| Constructor and Description |
|---|
FastMoneyProducer() |
| Modifier and Type | Method and Description |
|---|---|
MonetaryAmount |
create(CurrencyUnit currency,
Number number)
|
public FastMoneyProducer()
public MonetaryAmount create(CurrencyUnit currency, Number number)
MonetaryAmountProducercreate in interface MonetaryAmountProducercurrency - the currency, not null.number - the amount, not null.MonetaryAmount never nullCopyright © 2012–2020 JavaMoney. All rights reserved.