接口 FunctionException<T,R>

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface FunctionException<T,R>
从以下版本开始:
2024-01-22 13:16
作者:
xieyubin
  • 方法概要

    修饰符和类型
    方法
    说明
    apply(T t)
    Applies this function to the given argument.
  • 方法详细资料

    • apply

      R apply(T t) throws Exception
      Applies this function to the given argument.
      参数:
      t - the function argument
      返回:
      the function result
      抛出:
      Exception - Exception