Package org.refcodes.matcher
Class OrMatcherImpl<M>
- java.lang.Object
-
- org.refcodes.matcher.OrMatcherImpl<M>
-
-
Constructor Summary
Constructors Constructor Description OrMatcherImpl(Matcher<M>... aMatchers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMatching(M aMatchee)
Tests whether the given event is matching the mathcer's criteria.
-
-
-
Method Detail
-
isMatching
public boolean isMatching(M aMatchee)
Tests whether the given event is matching the mathcer's criteria.- Specified by:
isMatching
in interfaceMatcher<M>
- Parameters:
aMatchee
- The matchee used for testing matchability.- Returns:
- True in case the matchee matches the matcher's criteria, else false.
-
-