Module org.tquadrat.foundation.base
Interface TCEBiConsumer<T1,T2>
- Type Parameters:
T1- The type of the first argument to the operation.T2- The type of the second argument to the operation.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@ClassVersion(sourceVersion="$Id: TCEBiConsumer.java 1020 2022-02-27 21:26:03Z tquadrat $")
@API(status=STABLE,
since="0.0.5")
public interface TCEBiConsumer<T1,T2>
The TCE version of the interface
BiConsumer
that represents an operation that accepts two input arguments and returns
no result. This is the two-arity specialisation of
TCEConsumer.
Unlike most other functional interfaces, BiConsumer is expected
to operate via side effects.
Different from the method
BiConsumer.accept()
the method
accept(Object,Object)
of this interface declares to throw a
checked exception.
This is a functional interface whose functional method is
accept(Object,Object).
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: TCEBiConsumer.java 1020 2022-02-27 21:26:03Z tquadrat $
- Since:
- 0.0.5
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.function.tce.TCEBiConsumer"
-
Method Summary
-
Method Details
-
accept
Performs this operation on the given argument.- Parameters:
arg1- The first input argumentarg2- The second input argument- Throws:
Exception- Something went wrong.
-
