Interface Predicate2<T1,T2>
- All Superinterfaces:
BiPredicate<T1,T2>, Serializable
- All Known Implementing Classes:
CheckedPredicate2, MapEntryPredicate, PairPredicate, Predicates2
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A Predicate2 is primarily used in methods like selectWith, detectWith, rejectWith. The first argument
is the element of the collection being iterated over, and the second argument is a parameter passed into
the predicate from the calling method.
-
Method Summary
Methods inherited from interface BiPredicate
and, negate, or
-
Method Details
-
accept
-
test
-