-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Converter
public class Converters.IntConverter extends AbstractConverter<Int>
-
-
Field Summary
Fields Modifier and Type Field Description private final Class<Integer>targetTypeprivate final StringcomponentIdprivate final Map<String, Object>componentParamspublic final static Converters.IntConverterINSTANCE
-
Method Summary
Modifier and Type Method Description Integerconvert(Object value)将指定的对象转化为另一个类型。如果转化失败,则抛出异常。 IntegerconvertOrNull(Object value)将指定的对象转化为另一个类型。如果转化失败,则返回null。 Class<Integer>getTargetType()StringgetComponentId()Map<String, Object>getComponentParams()-
Methods inherited from class icu.windea.breezeframework.core.component.Converters.IntConverter
equals, hashCode, toString -
Methods inherited from class icu.windea.breezeframework.core.component.AbstractConverter
componentCopy -
Methods inherited from class icu.windea.breezeframework.core.component.Converter
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
convertOrNull
Integer convertOrNull(Object value)
将指定的对象转化为另一个类型。如果转化失败,则返回null。
-
getTargetType
Class<Integer> getTargetType()
-
getComponentId
String getComponentId()
-
getComponentParams
Map<String, Object> getComponentParams()
-
-
-
-