T - the first input argumentU - the second input argumentW - W@FunctionalInterface public interface 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 void |
acceptWithCatchAny(T t,
U u,
W w) |
default void |
acceptWithThrowAny(T t,
U u,
W w) |
default ExceptionTriConsumer<T,U,W> |
andThen(ExceptionTriConsumer<? super T,? super U,? super W> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
default TriConsumer<T,U,W> |
toTriConsumerWithCatchAny() |
void accept(T t, U u, W w) throws Exception
t - the first input argumentu - the second input argumentw - wException - Exceptiondefault ExceptionTriConsumer<T,U,W> acceptThen(T t, U u, W w) throws Exception
Exceptiondefault TriConsumer<T,U,W> toTriConsumerWithCatchAny()
default ExceptionTriConsumer<T,U,W> andThen(ExceptionTriConsumer<? 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.