Class AbstractMatcher.OrMatcher<T>

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

    private static class AbstractMatcher.OrMatcher<T>
    extends AbstractMatcher<T>
    implements java.io.Serializable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      boolean matches​(T t)
      Returns true if this matches t, false otherwise.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • matches

        public boolean matches​(T t)
        Description copied from interface: Matcher
        Returns true if this matches t, false otherwise.
        Specified by:
        matches in interface Matcher<T>
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object