org.rx.util.function.TripleAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib Show documentation
Show all versions of rxlib Show documentation
A set of utilities for Java
package org.rx.util.function;
import java.util.function.BiConsumer;
import static org.rx.core.App.sneakyInvoke;
@FunctionalInterface
public interface TripleAction {
void invoke(T1 t1, T2 t2) throws Throwable;
default BiConsumer toConsumer() {
return (p1, p2) -> sneakyInvoke(() -> invoke(p1, p2));
}
}