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