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