- Type Parameters:
A
- the criteria objectB
- the object being tested
- All Superinterfaces:
BiPredicate<A,
B>
- All Known Implementing Classes:
IdMatcher
,InterceptorBindingsMatcher
,QualifiersMatcher
,TypeMatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
BiPredicate
with particular semantics associated with its test(Object, Object)
method.- Author:
- Laird Nelson
- See Also:
-
Method Summary
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Method Details
-
test
Returnstrue
if and only if the first argument matches the second argument.- Specified by:
test
in interfaceBiPredicate<A,
B> - Parameters:
a
- an object serving as a kind of criteria; must not benull
b
- an object to test; must not benull
- Returns:
true
if and only if the first argument matches the second argument;false
otherwise- Throws:
NullPointerException
- if eithera
orb
isnull
-