模块 jmc.utils
程序包 com.jmc.lang

接口 Tries.ConsumerThrowsE<T>

类型参数:
T - 被消耗的对象
封闭类:
Tries
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public static interface Tries.ConsumerThrowsE<T>
可抛出异常的Consumer
从以下版本开始:
1.5
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    accept(T t)
    消耗方法
  • 方法详细资料

    • accept

      void accept(T t) throws Throwable
      消耗方法
      参数:
      t - 消耗对象
      抛出:
      Throwable - 抛出的异常