接口 IOConsumer<T>
- 类型参数:
T
- the consumed type
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Consumer that can safely throw
IO exceptions
.- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb
-
方法概要
-
方法详细资料
-
accept
Performs this operation on the given argument.- 参数:
t
- the instance to consume- 抛出:
IOException
- on IO error
-