@FunctionalInterface public interface SerBiCons<T,U> extends BiConsumer<T,U>, Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
accept(T t,
U u)
Performs this operation on the given arguments.
|
void |
accepting(T t,
U u)
Performs this operation on the given arguments.
|
default SerBiCons<T,U> |
andThen(SerBiCons<? super T,? super U> after)
Returns a composed
SerBiCons that performs, in sequence, this
operation followed by the after operation. |
static <T,U> SerBiCons<T,U> |
multi(SerBiCons<T,U>... consumers)
multi
|
static <T,U> SerBiCons<T,U> |
nothing()
nothing
|
andThen@SafeVarargs static <T,U> SerBiCons<T,U> multi(SerBiCons<T,U>... consumers)
T - typeU - a U classconsumers - lambdadefault void accept(T t, U u)
accept 在接口中 BiConsumer<T,U>default SerBiCons<T,U> andThen(SerBiCons<? super T,? super U> after)
SerBiCons 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 operationSerBiCons that performs in sequence this
operation followed by the after operationNullPointerException - if after is nullstatic <T,U> SerBiCons<T,U> nothing()
T - a T classU - a U classCopyright © 2023 dromara. All rights reserved.