T
- the type of the first argument to the operationU
- the type of the second argument to the operation@FunctionalInterface public interface BiConsumerEx<T,U> extends BiConsumer<T,U>, Serializable
Serializable
variant of java.util.function.BiConsumer
which declares checked exception.Modifier and Type | Method and Description |
---|---|
default void |
accept(T t,
U u) |
void |
acceptEx(T t,
U u)
Exception-declaring version of
BiConsumer.accept(T, U) . |
default BiConsumerEx<T,U> |
andThen(BiConsumerEx<? super T,? super U> after)
Serializable variant of
java.util.function.BiConsumer#andThen(BiConsumer) . |
andThen
void acceptEx(T t, U u) throws Exception
BiConsumer.accept(T, U)
.Exception
- in case of any exceptional casedefault BiConsumerEx<T,U> andThen(BiConsumerEx<? super T,? super U> after)
Serializable
variant of
java.util.function.BiConsumer#andThen(BiConsumer)
.Copyright © 2020 Hazelcast, Inc.. All rights reserved.