All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.conversion.string.format.FormatArrayConvertor Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version

package cn.featherfly.conversion.string.format;

import cn.featherfly.conversion.string.basic.ArrayConvertor;


/**
 * 

* 数组转换器 *

* @param 数组自身类型 * @param 数组项类型 * @author 钟冀 */ public abstract class FormatArrayConvertor extends ArrayConvertor, E, FormatType>{ /** * @param convertor conversion */ public FormatArrayConvertor(FormatConvertor convertor) { super(convertor); } /** * {@inheritDoc} */ @Override protected FormatType getArrayItemGenericType(FormatType formatType) { FormatType ft = new FormatType<>(getConvertor().getSourceType()); ft.setFormat(formatType.getFormat()); ft.setFormats(formatType.getFormats()); return ft; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy