java.lang.Object
org.microbean.bean.QualifiersMatcher
- All Implemented Interfaces:
BiPredicate<Collection<? extends NamedAttributeMap<?>>,
,Collection<? extends NamedAttributeMap<?>>> Matcher<Collection<? extends NamedAttributeMap<?>>,
Collection<? extends NamedAttributeMap<?>>>
public final class QualifiersMatcher
extends Object
implements Matcher<Collection<? extends NamedAttributeMap<?>>,Collection<? extends NamedAttributeMap<?>>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
test
(Collection<? extends NamedAttributeMap<?>> receiverAttributes, Collection<? extends NamedAttributeMap<?>> payloadAttributes) Returnstrue
if and only if the first argument matches the second argument.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
QualifiersMatcher
public QualifiersMatcher()
-
-
Method Details
-
test
public final boolean test(Collection<? extends NamedAttributeMap<?>> receiverAttributes, Collection<? extends NamedAttributeMap<?>> payloadAttributes) Description copied from interface:Matcher
Returnstrue
if and only if the first argument matches the second argument.- Specified by:
test
in interfaceBiPredicate<Collection<? extends NamedAttributeMap<?>>,
Collection<? extends NamedAttributeMap<?>>> - Specified by:
test
in interfaceMatcher<Collection<? extends NamedAttributeMap<?>>,
Collection<? extends NamedAttributeMap<?>>> - Parameters:
receiverAttributes
- an object serving as a kind of criteria; must not benull
payloadAttributes
- an object to test; must not benull
- Returns:
true
if and only if the first argument matches the second argument;false
otherwise
-