public class JsonbNumberConverter extends JsonbLocaleParserConverterBase<java.lang.Number>
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<java.text.NumberFormat> |
delegateFactory |
private java.util.Queue<java.text.NumberFormat> |
pool |
Constructor and Description |
---|
JsonbNumberConverter(javax.json.bind.annotation.JsonbNumberFormat numberFormat) |
Modifier and Type | Method and Description |
---|---|
private <T> T |
execute(java.util.function.Function<java.text.NumberFormat,T> function) |
java.lang.Number |
fromString(java.lang.String text) |
java.lang.String |
toString(java.lang.Number instance) |
newLocale
private final java.util.function.Supplier<java.text.NumberFormat> delegateFactory
private final java.util.Queue<java.text.NumberFormat> pool
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.