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

com.github.hypfvieh.function.IThrowingBiFunction Maven / Gradle / Ivy

Go to download

A collection of utils commonly used in my projects. Feel free to use it (or parts of it) in your own projects.

The newest version!
package com.github.hypfvieh.function;

/**
 * Function which allows throwing any exception.
 *
 * @param  first type of value
 * @param  second type of value
 * @param  type of result
 * @param  type of exception which gets thrown
 *
 * @author hypfvieh
 * @since v1.2.1 - 2024-12-26
 */
@FunctionalInterface
public interface IThrowingBiFunction {
    /**
     * Returns the result of the function or throws an exception.
     *
     * @return result of supplied function
     * @throws T exception
     */
    R apply(V1 _val1, V2 _val2) throws T;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy