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

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

package org.rx.util.function;

import java.util.function.BiConsumer;

import static org.rx.core.Extends.sneakyInvoke;

@FunctionalInterface
public interface TripleAction {
    void invoke(T1 t1, T2 t2) throws Throwable;

    default BiConsumer toConsumer() {
        return (p1, p2) -> sneakyInvoke(() -> invoke(p1, p2));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy