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

wf.utils.java.functions.TriConsumer Maven / Gradle / Ivy

The newest version!
package wf.utils.java.functions;

import java.util.Objects;

@FunctionalInterface
public interface TriConsumer {

    void accept(T t, U u, D d);


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

        return (l, r, d) -> {
            accept(l, r, d);
            after.accept(l, r, d);
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy