Interface ScxFunction<T, R, E extends Throwable>

Type Parameters:
T - 参数类型
R - 返回值类型
E - 异常类型
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 ScxFunction<T, R, E extends Throwable>
支持显式抛出异常的 Function.
Version:
0.0.1
Author:
scx567888
See Also:
  • Method Summary

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

    • apply

      R apply(T t) throws E
      apply
      Parameters:
      t - 方法参数
      Returns:
      方法结果
      Throws:
      E - 异常