Interface QuadConsumer<P1,P2,P3,P4>
- Type Parameters:
P1- The first parameter.P2- The second parameter.P3- The third parameter.P4- The fourth parameter.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A consumer that accepts four parameters.
-
Method Summary
-
Method Details
-
accept
Consumes the parameters.- Parameters:
p1- The first parameter.p2- The second parameter.p3- The third parameter.p4- The fourth parameter.
-
andThen
Chains another consumer on to this one.- Parameters:
after- The consumer to run after this one.- Returns:
- A new consumer that chains both.
-