Package com.yetnt.utils.functional
Interface QuadConsumer<T,U,V,W>
- Type Parameters:
T- the type of the first argument to the operationU- the type of the second argument to the operationV- the type of the third argument to the operation.W- the type of the fourth argument to the operation.
- 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 four input arguments and returns no result.
From J3Engine
- Author:
- Lehlogonolo Poole
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms this operation on the given arguments.default QuadConsumer<T, U, V, W> Returns a composedQuadConsumerthat performs, in sequence, this operation followed by theafteroperation.
-
Method Details
-
accept
Performs this operation on the given arguments.- Parameters:
t- the first input argumentu- the second input argumentv- the third input argumentw- the fourth input argument
-
andThen
Returns a composedQuadConsumerthat performs, in sequence, this operation followed by theafteroperation.- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
QuadConsumerthat performs in sequence this operation followed by theafteroperation - Throws:
NullPointerException- ifafteris null
-