A - 数组自身类型E - 数组项类型public class GenericTypeArrayConvertor<A,E> extends ArrayConvertor<A,cn.featherfly.common.lang.reflect.Type<A>,E,cn.featherfly.common.lang.reflect.Type<E>>
数组转换器
logger| 构造器和说明 |
|---|
GenericTypeArrayConvertor(ToStringConvertor<E> convertor) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected cn.featherfly.common.lang.reflect.Type<E> |
getArrayItemType(cn.featherfly.common.lang.reflect.Type<A> genericType)
获取数组元素Type
|
protected boolean |
supportFor(cn.featherfly.common.lang.reflect.Type<A> generecType)
是否提供对传入类型的支持
|
doToObject, doToString, getConvertorgetPolicy, getSourceType, getTargetType, setPolicy, sourceToTarget, targetToSourcepublic GenericTypeArrayConvertor(ToStringConvertor<E> convertor)
convertor - conversionprotected boolean supportFor(cn.featherfly.common.lang.reflect.Type<A> generecType)
是否提供对传入类型的支持
supportFor 在类中 AbstractBasicConvertor<A,cn.featherfly.common.lang.reflect.Type<A>>generecType - generecTypeprotected cn.featherfly.common.lang.reflect.Type<E> getArrayItemType(cn.featherfly.common.lang.reflect.Type<A> genericType)
获取数组元素Type
getArrayItemType 在类中 ArrayConvertor<A,cn.featherfly.common.lang.reflect.Type<A>,E,cn.featherfly.common.lang.reflect.Type<E>>genericType - genericType