Interface QueryBiFunction<T,​U,​R>

  • 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.

    @FunctionalInterface
    public interface QueryBiFunction<T,​U,​R>
    Function that raises query exceptions.
    Author:
    BaseX Team 2005-22, BSD License, Christian Gruen
    • Method Detail

      • apply

        R apply​(T t,
                U u)
         throws QueryException
        Applies this function to the given argument.
        Parameters:
        t - the first function argument
        u - the second function argument
        Returns:
        the function result
        Throws:
        QueryException - query exception