- Type Parameters:
M
- the generic type
- All Known Subinterfaces:
Matcher<M>
,WildcardMatcher
- All Known Implementing Classes:
AbstractMatcheeMatcher
,AbstractMatcher
,AbstractMatcherComposite
,AbstractWildcardMatcher
,AndMatcher
,AnyMatcher
,EqualWithMatcher
,GreaterOrEqualThanMatcher
,GreaterThanMatcher
,IsAssignableFromMatcher
,LessOrEqualThanMatcher
,LessThanMatcher
,NoneMatcher
,NotEqualWithMatcher
,NotMatcher
,OrMatcher
,PathMatcher
,RegExpMatcher
public interface Matchable<M>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isMatching
(M aMatchee) Tests whether the given event is matching the mathcer's criteria.
-
Method Details
-
isMatching
Tests whether the given event is matching the mathcer's criteria.- Parameters:
aMatchee
- The matchee used for testing matchability.- Returns:
- True in case the matchee matches the matcher's criteria, else false.
-