Package com.yetnt.utils.functional
Interface TrinaryConsumer<T>
- Type Parameters:
T- the type of the input arguments to the operation
- All Superinterfaces:
TriConsumer<T,T, T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation that accepts three input arguments of the same type and returns no result.
This is a specialisation of
TriConsumer where all three input arguments are of the same type.
Unlike most other functional interfaces, TrinaryConsumer is expected to operate via side effects.
From J3Engine
- Author:
- Lehlogonolo Poole
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrinaryConsumer<T> andThen(TriConsumer<? super T, ? super T, ? super T> after) Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.Methods inherited from interface com.yetnt.utils.functional.TriConsumer
accept
-
Method Details
-
andThen
Description copied from interface:TriConsumerReturns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.- Specified by:
andThenin interfaceTriConsumer<T,T, T> - Parameters:
after- the operation to perform after this operation- Returns:
- a composed TriConsumer
-