Top Description Methods
org.wildfly.common.function

public Interface ExceptionBiConsumer<T, U, E extends java.lang.Exception>

Known Direct Implementers
org.wildfly.common.function.Functions.ExceptionConsumerBiConsumer, org.wildfly.common.function.Functions.ConsumerExceptionBiConsumer, org.wildfly.common.function.Functions.DiscardingBiConsumer
Annotations
@FunctionalInterface
Imports
org.wildfly.common.Assert

A two-argument consumer which can throw an exception.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public void
accept(T
the first argument
t
,
U
the second argument
u
)

Performs this operation on the given arguments.

public default ExceptionBiConsumer<T, U, E>
andThen(ExceptionBiConsumer<? super T, ? super U, ? extends E> after)

public default ExceptionRunnable<E>
compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2)

Method Detail

acceptback to summary
public void accept(T t, U u) throws ExceptionBiConsumer:E

Performs this operation on the given arguments.

Parameters
t:T

the first argument

u:U

the second argument

Exceptions
ExceptionBiConsumer:E:
if an exception occurs
andThenback to summary
public default ExceptionBiConsumer<T, U, E> andThen(ExceptionBiConsumer<? super T, ? super U, ? extends E> after)
composeback to summary
public default ExceptionRunnable<E> compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2)