T - the type of the first argument to the operationU - the type of the second argument to the operationE - the type of exceptions that can be thrown by the operation@FunctionalInterface public interface EBiConsumer<T,U,E extends Throwable>
EBiConsumer interface expands on the BiConsumer
interface to provide the ability to throw back exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
U u)
Performs this operation on the given arguments.
|
default EBiConsumer<T,U,E> |
andThen(EBiConsumer<? super T,? super U,E> after)
Returns a composed
EBiConsumer that performs, in sequence, this
operation followed by the after operation. |
void accept(T t, U u) throws E extends Throwable
default EBiConsumer<T,U,E> andThen(EBiConsumer<? super T,? super U,E> after) throws E extends Throwable
EBiConsumer 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 operationEBiConsumer that performs in sequence this
operation followed by the after operationNullPointerException - if after is nullE - if an error occursE extends ThrowableCopyright (C) 2015-2015 The Helenus Driver Project Authors.