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