
com.annimon.stream.function.BiPredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream Show documentation
Show all versions of stream Show documentation
Enhancing Java 8 Streams
The newest version!
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