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

dev.utils.common.able.Outputable Maven / Gradle / Ivy

package dev.utils.common.able;

/**
 * detail: 通用 Output 接口
 * @author Ttt
 * 
 *     所有通用快捷 Output 接口定义存储类
 *     全部接口只定义一个方法 output() 且返回值一致
 *     唯一差异就是参数不同
 * 
*/ public final class Outputable { private Outputable() { } // ======= // = 无参 = // ======= public interface Output { T output(); } // ======= // = 有参 = // ======= public interface OutputByParam { T output(Param param); } public interface OutputByParam2 { T output( Param param, Param2 param2 ); } public interface OutputByParam3 { T output( Param param, Param2 param2, Param3 param3 ); } public interface OutputByParamArgs { T output(Param... args); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy