nl.hiddewieringa.money.CurrencyQueryExtensions.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.CurrencyQuery
import javax.money.CurrencyQueryBuilder
/**
* @see CurrencyQueryBuilder.of
*/
fun currencyQuery(init: CurrencyQueryBuilder.() -> Unit = {}): CurrencyQuery =
CurrencyQueryBuilder
.of()
.apply(init)
.build()
/**
* @see CurrencyQueryBuilder.of
*/
fun currencyQuery(currencyQuery: CurrencyQuery, init: CurrencyQueryBuilder.() -> Unit = {}): CurrencyQuery =
CurrencyQueryBuilder
.of(currencyQuery)
.apply(init)
.build()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy