- Type Parameters:
T- The type of the first argumentU- The type of the second argumentV- The type of the third argumentW- The type of the fourth argument
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface that takes four arguments and consumes them.
The
The
FunctionalInterface method is accept(Object, Object, Object, Object).-
Method Summary
Modifier and TypeMethodDescriptionvoidTakes four arguments and consumes them.default @NotNull QuadConsumer<T, U, V, W> Returns a composed consumer of same type that performs,
in sequence, this operation followed by theafteroperation.
-
Method Details
-
accept
Takes four arguments and consumes them.- Parameters:
t- The first argumentu- The second argumentv- The third argumentw- The fourth argument
-
andThen
@NotNull default @NotNull QuadConsumer<T,U, andThenV, W> (@NotNull @NotNull QuadConsumer<? super T, ? super U, ? super V, ? super W> after) Returns a composed consumer of same type that performs,
in sequence, this operation followed by theafteroperation.- Parameters:
after- The operation to perform after this operation- Returns:
- The composed consumer
- Throws:
NullPointerException- If the after operation is null
-