public interface RoundingProviderSpi
CurrencyUnit
. The JSRs implementation already provides default
roundings. By registering instances of this interface using the
Bootstrap
, the default behaviour can be
overridden and extended, e.g. for supporting also special roundings.
Implementations of this interface must be
Modifier and Type | Method and Description |
---|---|
default String |
getProviderName()
Get the provider's unique name.
|
MonetaryRounding |
getRounding(RoundingQuery query)
Evaluate the rounding that match the given query.
|
Set<String> |
getRoundingNames()
Access the ids of the roundings defined by this provider.
|
MonetaryRounding getRounding(RoundingQuery query)
null
.Set<String> getRoundingNames()
null
.default String getProviderName()
null
.Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.