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

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

There is a newer version: 3.0.0
Show newest version
package org.rx.util.function;

import lombok.SneakyThrows;

import java.io.Serializable;
import java.util.function.Function;

@FunctionalInterface
public interface BiFunc extends Function, Serializable {
    R invoke(T t) throws Throwable;

    @SneakyThrows
    @Override
    default R apply(T t) {
        return invoke(t);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy