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 operationX
- the type of the fourth argument to the operationE
- the type of exceptions that can be thrown by the operation@FunctionalInterface public interface EQuadConsumer<T,U,V,X,E extends Throwable>
EQuadConsumer
interface expands on the QuadConsumer
interface to provide the ability to throw back exceptions.Modifier and Type | Method and Description |
---|---|
void |
accept(T t,
U u,
V v,
X x)
Performs this operation on the given arguments.
|
default EQuadConsumer<T,U,V,X,E> |
andThen(EQuadConsumer<? super T,? super U,? super V,? super X,E> after)
Returns a composed
EQuadConsumer that performs, in sequence, this
operation followed by the after operation. |
void accept(T t, U u, V v, X x) throws E extends Throwable
default EQuadConsumer<T,U,V,X,E> andThen(EQuadConsumer<? super T,? super U,? super V,? super X,E> after) throws E extends Throwable
EQuadConsumer
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 operationEQuadConsumer
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.