T - TU - UW - W@FunctionalInterface public interface TriConsumer<T,U,W> extends ExceptionTriConsumer<T,U,W>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(T t,
U u,
W w)
Performs this operation on the given arguments.
|
default ExceptionTriConsumer<T,U,W> |
acceptThen(T t,
U u,
W w) |
default TriConsumer<T,U,W> |
andThen(TriConsumer<? super T,? super U,? super W> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
acceptWithCatchAny, acceptWithThrowAny, andThen, toTriConsumerWithCatchAnyvoid accept(T t, U u, W w)
accept 在接口中 ExceptionTriConsumer<T,U,W>t - the first input argumentu - the second input argumentw - wdefault ExceptionTriConsumer<T,U,W> acceptThen(T t, U u, W w)
acceptThen 在接口中 ExceptionTriConsumer<T,U,W>default TriConsumer<T,U,W> andThen(TriConsumer<? super T,? super U,? super W> after)
BiConsumer that performs, in sequence, this
operation followed by the after operation. If performing either
operation throws an exception, it is relayed to the caller of the
composed operation. If performing this operation throws an exception, the
after operation will not be performed.after - the operation to perform after this operationBiConsumer that performs in sequence this
operation followed by the after operationNullPointerException - if after is nullCopyright © 2022. All rights reserved.