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

org.basex.query.QueryBiFunction Maven / Gradle / Ivy

There is a newer version: 11.3
Show newest version
package org.basex.query;

/**
 * Function that raises query exceptions.
 *
 * @author BaseX Team 2005-22, BSD License
 * @author Christian Gruen
 * @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 QueryBiFunction {
  /**
   * Applies this function to the given argument.
   *
   * @param t the first function argument
   * @param u the second function argument
   * @return the function result
   * @throws QueryException query exception
   */
  R apply(T t, U u) throws QueryException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy