Class EverythingMatcher<T extends Key<?>>

  • All Implemented Interfaces:
    java.io.Serializable, Matcher<T>

    public class EverythingMatcher<T extends Key<?>>
    extends java.lang.Object
    implements Matcher<T>
    Matches on the complete key being equal (both name and group).
    Author:
    jhouse
    See Also:
    Serialized Form
    • Constructor Detail

      • EverythingMatcher

        protected EverythingMatcher()
    • Method Detail

      • isMatch

        public boolean isMatch​(T key)
        Specified by:
        isMatch in interface Matcher<T extends Key<?>>
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface Matcher<T extends Key<?>>
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface Matcher<T extends Key<?>>
        Overrides:
        hashCode in class java.lang.Object