Interface Matchable<M>

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>
The Matchable interface is intended for components providing matching functionality though not being a Matcher.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isMatching(M aMatchee)
    Tests whether the given event is matching the mathcer's criteria.
  • Method Details

    • isMatching

      boolean isMatching(M aMatchee)
      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.