java.lang.Object
org.microbean.bean.InterceptorBindingsMatcher
- All Implemented Interfaces:
BiPredicate<Collection<? extends NamedAttributeMap<?>>,,Collection<? extends NamedAttributeMap<?>>> Matcher<Collection<? extends NamedAttributeMap<?>>,Collection<? extends NamedAttributeMap<?>>>
public final class InterceptorBindingsMatcher
extends Object
implements Matcher<Collection<? extends NamedAttributeMap<?>>,Collection<? extends NamedAttributeMap<?>>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleantest(Collection<? extends NamedAttributeMap<?>> receiverAttributes, Collection<? extends NamedAttributeMap<?>> payloadAttributes) Returnstrueif 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, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Constructor Details
-
InterceptorBindingsMatcher
public InterceptorBindingsMatcher()
-
-
Method Details
-
test
public final boolean test(Collection<? extends NamedAttributeMap<?>> receiverAttributes, Collection<? extends NamedAttributeMap<?>> payloadAttributes) Description copied from interface:MatcherReturnstrueif and only if the first argument matches the second argument.- Specified by:
testin interfaceBiPredicate<Collection<? extends NamedAttributeMap<?>>,Collection<? extends NamedAttributeMap<?>>> - Specified by:
testin interfaceMatcher<Collection<? extends NamedAttributeMap<?>>,Collection<? extends NamedAttributeMap<?>>> - Parameters:
receiverAttributes- an object serving as a kind of criteria; must not benullpayloadAttributes- an object to test; must not benull- Returns:
trueif and only if the first argument matches the second argument;falseotherwise
-