public interface QuaterConsumer<T,U,V,W>
This is the four-arity specialization of Consumer
.
Unlike most other functional interfaces, QuaterConsumer
is expected to operate via side-effects.
This is a functional interface whose functional method is accept(Object, Object, Object, Object)
.
Modifier and Type | Method and Description |
---|---|
void |
accept(T t,
U u,
V v,
W w)
Performs this operation on the given arguments.
|
default QuaterConsumer<T,U,V,W> |
andThen(QuaterConsumer<? super T,? super U,? super V,? super W> after)
Returns a composed
QuaterConsumer that performs, in sequence, this operation followed by the after operation. |
default QuaterConsumer<T,U,V,W> andThen(QuaterConsumer<? super T,? super U,? super V,? super W> after)
QuaterConsumer
that performs, in sequence, this operation followed by the after
operation.
If performing either operation throws a RuntimeException
, it is relayed to the caller of the composed operation.
If performing this operation throws a RuntimeException
, the after
operation will not be performed.
after
- the operation to perform after this operationQuaterConsumer
that performs, in sequence, this operation followed by the after
operationjava.lang.NullPointerException
- thrown if, and only if, after
is null