Class NoneMatcherImpl<M>

  • Type Parameters:
    M - The matchee type.
    All Implemented Interfaces:
    Matcher<M>

    public class NoneMatcherImpl<M>
    extends java.lang.Object
    implements Matcher<M>
    A NONE implementation of a Matcher which always returns false.
    • Constructor Summary

      Constructors 
      Constructor Description
      NoneMatcherImpl()  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoneMatcherImpl

        public NoneMatcherImpl()
    • Method Detail

      • isMatching

        public boolean isMatching​(M aMatchee)
        Tests whether the given event is matching the mathcer's criteria.
        Specified by:
        isMatching in interface Matcher<M>
        Parameters:
        aMatchee - The matchee used for testing matchability.
        Returns:
        True in case the matchee matches the matcher's criteria, else false.