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

com.flyfish.oauth.common.Function Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package com.flyfish.oauth.common;

/**
 * 兼容jdk7的解决方案,函数
 * 其实是一个匿名内部类
 *
 * @author wangyu
 */
public interface Function {

    /**
     * 执行函数
     *
     * @param data 参数数据
     * @return 结果
     */
    R apply(T data);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy