All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 after) {
        Objects.requireNonNull(after);
        return (t, u, v, w) -> {
            accept(t, u, v, w);
            after.accept(t, u, v, w);
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy