
cn.micro.core.function.CheckedFunction Maven / Gradle / Ivy
package cn.micro.core.function;
import org.springframework.lang.Nullable;
import java.io.Serializable;
/**
* 受检的 function
*/
@FunctionalInterface
public interface CheckedFunction extends Serializable {
/**
* Run the Function
*
* @param t T
* @return R R
* @throws Throwable CheckedException
*/
@Nullable
R apply(@Nullable T t) throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy