TriConsumer

Represents an operation that accepts three input arguments and returns no result. This is the three-arity specialization of Consumer. Unlike most other functional interfaces, TriConsumer is expected to operate via side-effects.

This is a functional interface whose functional method is accept.

Since

4.0.0

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

See also

Inheritors

Functions

Link copied to clipboard
abstract fun accept(t1: T1, t2: T2, t3: T3)
Performs this operation on the given arguments.
Link copied to clipboard
open fun andThen(after: TriConsumer<in T1, in T2, in T3>): TriConsumer<T1, T2, T3>
Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.