org.nd4j.linalg.function.BiPredicate Maven / Gradle / Ivy
package org.nd4j.linalg.function;
/**
* A predicate (boolean valued function) with two arguments.
*
* @param Type of first argument
* @param Type of second argument
*/
public interface BiPredicate {
/**
* Evaluate the predicate
*
* @param t First argument
* @param u Second argument
* @return Result
*/
boolean test(T t, U u);
}