-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Converter
@ExperimentalUnsignedTypes() public class Converters.UShortConverter extends AbstractConverter<UShort>
-
-
Field Summary
Fields Modifier and Type Field Description private final Class<UShort>targetTypeprivate final StringcomponentIdprivate final Map<String, Object>componentParamspublic final static Converters.UShortConverterINSTANCE
-
Method Summary
Modifier and Type Method Description UShortconvert(Object value)将指定的对象转化为另一个类型。如果转化失败,则抛出异常。 UShortconvertOrNull(Object value)将指定的对象转化为另一个类型。如果转化失败,则返回null。 Class<UShort>getTargetType()StringgetComponentId()Map<String, Object>getComponentParams()-
Methods inherited from class icu.windea.breezeframework.core.component.Converters.UShortConverter
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
UShort convertOrNull(Object value)
将指定的对象转化为另一个类型。如果转化失败,则返回null。
-
getTargetType
Class<UShort> getTargetType()
-
getComponentId
String getComponentId()
-
getComponentParams
Map<String, Object> getComponentParams()
-
-
-
-