Interface DrasylBiFunction<T,​U,​R,​E extends Exception>

  • Type Parameters:
    T - the type of the first argument to the function
    U - the type of the second argument to the function
    R - the type of the result of the function
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface DrasylBiFunction<T,​U,​R,​E extends Exception>
    BiFunction that can throw a Exception.
    • Method Detail

      • apply

        R apply​(T t,
                U u)
         throws E extends Exception
        Applies this function to the given arguments.
        t - the first function argument
        u - the second function argument
        the function result
        E extends Exception