-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Converter,icu.windea.breezeframework.core.component.TypedComponent
public class Converter.BigDecimalConverter extends AbstractConverter<BigDecimal>
-
-
Field Summary
Fields Modifier and Type Field Description private final Class<BigDecimal>targetTypepublic final static Converter.BigDecimalConverterINSTANCE
-
Method Summary
Modifier and Type Method Description BigDecimalconvert(Object value)将指定的对象转化为另一个类型。如果转化失败,则抛出异常。 BigDecimalconvertOrNull(Object value)将指定的对象转化为另一个类型。如果转化失败,则返回null。 Class<BigDecimal>getTargetType()目标类型。 -
-
Method Detail
-
convert
BigDecimal convert(Object value)
将指定的对象转化为另一个类型。如果转化失败,则抛出异常。
-
convertOrNull
BigDecimal convertOrNull(Object value)
将指定的对象转化为另一个类型。如果转化失败,则返回null。
-
getTargetType
Class<BigDecimal> getTargetType()
目标类型。
-
-
-
-