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 super T, ? super U, ? super D> after) {
Objects.requireNonNull(after);
return (l, r, d) -> {
accept(l, r, d);
after.accept(l, r, d);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy