org.rx.util.function.TripleFunc 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.BiFunction;
import static org.rx.core.App.sneakyInvoke;
@FunctionalInterface
public interface TripleFunc {
TR invoke(T1 param1, T2 param2) throws Throwable;
default BiFunction toFunction() {
return (p1, p2) -> sneakyInvoke(() -> invoke(p1, p2));
}
}