java.lang.Object
org.microbean.bean.IdMatcher
- All Implemented Interfaces:
BiPredicate<AttributedType,
,Id> Matcher<AttributedType,
Id>
-
Constructor Summary
ConstructorDescriptionIdMatcher
(QualifiersMatcher qm, InterceptorBindingsMatcher ibm, TypeMatcher tm) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
test
(TypeMirror type, Iterable<? extends TypeMirror> ts) final boolean
test
(AttributedType t, Id id) 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
-
IdMatcher
-
-
Method Details
-
test
Description copied from interface:Matcher
Returnstrue
if and only if the first argument matches the second argument.- Specified by:
test
in interfaceBiPredicate<AttributedType,
Id> - Specified by:
test
in interfaceMatcher<AttributedType,
Id> - Parameters:
t
- an object serving as a kind of criteria; must not benull
id
- an object to test; must not benull
- Returns:
true
if and only if the first argument matches the second argument;false
otherwise
-
test
-