cc.neckbeard.utils.functional.QuadConsumer Maven / Gradle / Ivy
The newest version!
package cc.neckbeard.utils.functional;
import java.util.Objects;
@FunctionalInterface
public interface QuadConsumer {
void accept(T t, U u, V v, W w);
default QuadConsumer andThen(QuadConsumer super T, ? super U, ? super V, ? super W> after) {
Objects.requireNonNull(after);
return (t, u, v, w) -> {
accept(t, u, v, w);
after.accept(t, u, v, w);
};
}
}