Interface CheckedFunction<T,R>

Type Parameters:
T - 入参类型
R - 出参类型
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CheckedFunction<T,R>
处理异常的 函数
Author:
zuihou
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t)
    执行
  • Method Details

    • apply

      R apply(T t) throws Exception
      执行
      Parameters:
      t - 入参
      Returns:
      R 出参
      Throws:
      Exception - 异常