Package software.amazon.smithy.utils
Interface TriConsumer<T,U,V>
- Type Parameters:
T
- The first argument type.U
- The second argument type.V
- The third argument type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Similar to
BiConsumer
, but accepts three arguments.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Performs the operation on the given inputs.default TriConsumer<T,
U, V> andThen
(TriConsumer<? super T, ? super U, ? super V> after) Returns a composedTriConsumer
that performs, in sequence, this operation followed by theafter
operation.
-
Method Details
-
accept
Performs the operation on the given inputs.- Parameters:
t
- is the first argumentu
- is the second argumentv
- is the third argument
-
andThen
Returns a composedTriConsumer
that performs, in sequence, this operation followed by theafter
operation.- Parameters:
after
- the operation to perform after this operation- Returns:
- a composed
TriConsumer
- Throws:
NullPointerException
- ifafter
is null
-