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 TypeMethodDescriptionvoidPerforms the operation on the given inputs.default TriConsumer<T,U, V> andThen(TriConsumer<? super T, ? super U, ? super V> after) Returns a composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation.
-
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 composedTriConsumerthat performs, in sequence, this operation followed by theafteroperation.- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
TriConsumer - Throws:
NullPointerException- ifafteris null
-