Package org.catools.common.functions
Interface CTripleConsumer<T,U,L>
-
public interface CTripleConsumer<T,U,L>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
accept(T t, U u, L l)
Performs this operation on the given arguments.default CTripleConsumer<T,U,L>
andThen(CTripleConsumer<? super T,? super U,? super L> after)
Returns a composedTripleConsumer
that performs, in sequence, this operation followed by theafter
operation.
-
-
-
Method Detail
-
accept
void accept(T t, U u, L l)
Performs this operation on the given arguments.- Parameters:
t
- the first input argumentu
- the second input argumentl
- the third input argument
-
andThen
default CTripleConsumer<T,U,L> andThen(CTripleConsumer<? super T,? super U,? super L> after)
Returns a composedTripleConsumer
that performs, in sequence, this operation followed by theafter
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, theafter
operation will not be performed.- Parameters:
after
- the operation to perform after this operation- Returns:
- a composed
TripleConsumer
that performs in sequence this operation followed by theafter
operation - Throws:
java.lang.NullPointerException
- ifafter
is null
-
-