nl.hiddewieringa.money.MonetaryAmountFactoryQueryExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of money-kotlin Show documentation
Show all versions of money-kotlin Show documentation
Kotlin extensions for javax.money (Moneta) JSR 354
The newest version!
package nl.hiddewieringa.money
import javax.money.MonetaryAmountFactoryQuery
import javax.money.MonetaryAmountFactoryQueryBuilder
/**
* @see MonetaryAmountFactoryQueryBuilder.of
*/
fun monetaryAmountFactoryQuery(init: MonetaryAmountFactoryQueryBuilder.() -> Unit = {}): MonetaryAmountFactoryQuery =
MonetaryAmountFactoryQueryBuilder
.of()
.apply(init)
.build()
/**
* @see MonetaryAmountFactoryQueryBuilder.of
*/
fun monetaryAmountFactoryQuery(monetaryAmountFactoryQuery: MonetaryAmountFactoryQuery, init: MonetaryAmountFactoryQueryBuilder.() -> Unit = {}): MonetaryAmountFactoryQuery =
MonetaryAmountFactoryQueryBuilder
.of(monetaryAmountFactoryQuery)
.apply(init)
.build()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy