All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rx.util.function.TripleFunc Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
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));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy