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

com.annimon.stream.function.BiPredicate Maven / Gradle / Ivy

package com.annimon.stream.function;

/**
 * Represents a predicate (function with boolean type result).
 *
 * @param  the type of the input to the function
 */
@FunctionalInterface
public interface BiPredicate {

    /**
     * Tests the value for satisfying predicate.
     *
     * @param value  the value to be tests
     * @return {@code true} if the value matches the predicate, otherwise {@code false}
     */
    boolean test(T t, U u);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy