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.
 
 @FunctionalInterface public interface TriConsumer<T,U,V>Similar toBiConsumer, but accepts three arguments.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(T t, U u, V v)Performs 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 Detail- 
acceptvoid accept(T t, U u, V v) Performs the operation on the given inputs.- Parameters:
- t- is the first argument
- u- is the second argument
- v- is the third argument
 
 - 
andThendefault TriConsumer<T,U,V> andThen(TriConsumer<? super T,? super U,? super V> after) 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:
- java.lang.NullPointerException- if- afteris null
 
 
- 
 
-