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