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 operation@FunctionalInterface public interface TetraConsumer<T,U,V,X>
TetraConsumer
interface represents an operation that accepts
four input arguments and returns no result. This is the four-arity
specialization of Consumer
. Unlike most other functional interfaces,
TetraConsumer
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,
X x)
Performs this operation on the given arguments.
|
default TetraConsumer<T,U,V,X> |
andThen(TetraConsumer<? super T,? super U,? super V,? super X> after)
Returns a composed
TetraConsumer that performs, in sequence, this
operation followed by the after operation. |
void accept(T t, U u, V v, X x)
t
- the first input argumentu
- the second input argumentv
- the third input argumentx
- the fourth input argumentdefault TetraConsumer<T,U,V,X> andThen(TetraConsumer<? super T,? super U,? super V,? super X> after)
TetraConsumer
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 operationTetraConsumer
that performs in sequence this
operation followed by the after
operationNullPointerException
- if after
is null
Copyright (C) 2015-2017 The Helenus Driver Project Authors.