Module org.tquadrat.foundation.base
Interface TCETriConsumer<T1,T2,T3>
- Type Parameters:
T1- The type of the first argument to the operation.T2- The type of the second argument to the operation.T3- The type of the third 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: TCETriConsumer.java 993 2022-01-19 22:26:20Z tquadrat $")
@API(status=STABLE,
since="0.0.5")
public interface TCETriConsumer<T1,T2,T3>
The TCE version of the interface
Different from the method
This is a functional interface whose functional method is
TriConsumer
that represents an operation that accepts three input arguments and returns
no result. This is the three-arity specialisation of
TCEConsumer.
Unlike most other functional interfaces, TriConsumer is expected to
operate via side effects.Different from the method
BiConsumer.accept()
the method
accept(Object,Object,Object)
of this interface declares to throw a
checked exception.This is a functional interface whose functional method is
accept(Object,Object,Object).- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: TCETriConsumer.java 993 2022-01-19 22:26:20Z tquadrat $
- Since:
- 0.0.5
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.function.tce.TCETriConsumer"
-
Method Summary
-
Method Details
-
accept
Performs this operation on the given argument.- Parameters:
arg1- The first input argumentarg2- The second input argumentarg3- The third input argument- Throws:
Exception- Something went wrong.
-
