@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, wait
toString
public static BigDecimalStringConverter create()
public EnhancedType<BigDecimal> type()
StringConverter
type
in interface StringConverter<BigDecimal>
public BigDecimal fromString(String string)
StringConverter
fromString
in interface StringConverter<BigDecimal>
Copyright © 2021. All rights reserved.