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

com.github.andyshao.lang.OutputStructConvert Maven / Gradle / Ivy

The newest version!
package com.github.andyshao.lang;

/**
 * 
 * Title: Adding Output factory argument in Convert
* Descript:
* Copyright: Copryright(c) 5 Jun 2017
* Encoding:UNIX UTF-8 * @author Andy.Shao * * @param the input * @param the output */ public interface OutputStructConvert extends Convert { /** * convert operation * @param in input * @param factory {@link OutputFactory} * @return the output */ OUT convert(IN in, OutputFactory factory); /** * output factory * @param data type */ @FunctionalInterface interface OutputFactory { /** * build operation * @return output element */ E build(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy