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

io.infinicast.TriConsumer Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package io.infinicast;

import java.util.Objects;

@FunctionalInterface
public interface TriConsumer {

    void accept(T t, U u, W w);

    default TriConsumer andThen(TriConsumer after) {
        Objects.requireNonNull(after);

        return (a, b, c) -> {
            accept(a, b, c);
            after.accept(a, b, c);
        };
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy