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