de.team33.patterns.exceptional.dione.XBiPredicate Maven / Gradle / Ivy
package de.team33.patterns.exceptional.dione;
/**
* A kind of predicate that allows to throw a checked exception.
*
* @see java.util.function.BiPredicate
*/
@FunctionalInterface
public interface XBiPredicate {
/**
* Performs this operation on the given arguments and returns a {@code boolean} result.
*
* @throws X if so.
* @see java.util.function.Predicate#test(Object)
*/
boolean test(T t, U u) throws X;
}