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

com.github.markozajc.ef.tripredicate.TriPredicate Maven / Gradle / Ivy

package com.github.markozajc.ef.tripredicate;

import java.util.function.Predicate;

/**
 * A {@link Predicate} variant that takes three generic types.
 *
 * @author Marko Zajc
 *
 * @param 
 *            the type of the first argument to the predicate
 * @param 
 *            the type of the second argument the predicate
 * @param 
 *            the type of the third argument the predicate
 */
@FunctionalInterface
public interface TriPredicate {

	/**
	 * Evaluates this predicate on the given arguments.
	 *
	 * @param t
	 *            the first input argument
	 * @param u
	 *            the second input argument
	 * @param v
	 *            the third input argument
	 *
	 * @return {@code true} if the input arguments match the predicate, otherwise
	 *         {@code false}
	 */
	boolean test(T t, U u, V v);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy