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