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

rs.baselib.function.ExceptionalBiFunction Maven / Gradle / Ivy

The newest version!
package rs.baselib.function;

/**
 * Represents a function that accepts two arguments and produces a result
 * and can throw exceptions.
 * This is the two-arity specialization of {@link ExceptionalFunction}.
 *
 * 

This is a functional interface * whose functional method is {@link #apply(Object, Object)}. * * @param the type of the first argument to the function * @param the type of the second argument to the function * @param the type of the result of the function * */ @FunctionalInterface public interface ExceptionalBiFunction { /** * Applies this function to the given arguments. * * @param t the first function argument * @param u the second function argument * @return the function result */ R apply(T t, U u) throws Exception; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy