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 lombok.SneakyThrows;
import java.util.function.BiFunction;
@FunctionalInterface
public interface TripleFunc extends BiFunction {
R invoke(T1 t1, T2 t2) throws Throwable;
@SneakyThrows
@Override
default R apply(T1 t1, T2 t2) {
return invoke(t1, t2);
}
}