@ThreadSafe @Immutable public class BigDecimalStringConverter extends Object implements StringConverter<BigDecimal>
BigDecimal and String.
This converts values using BigDecimal.toString() and BigDecimal.BigDecimal(String).
| Modifier and Type | Method and Description |
|---|---|
static BigDecimalStringConverter |
create() |
BigDecimal |
fromString(String string)
Convert the provided string into an object.
|
EnhancedType<BigDecimal> |
type()
The type supported by this converter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic static BigDecimalStringConverter create()
public EnhancedType<BigDecimal> type()
StringConvertertype in interface StringConverter<BigDecimal>public BigDecimal fromString(String string)
StringConverterfromString in interface StringConverter<BigDecimal>Copyright © 2020. All rights reserved.