Class Matchers.Not<T>

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

    private static class Matchers.Not<T>
    extends AbstractMatcher<T>
    implements java.io.Serializable
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Not​(Matcher<? super T> delegate)  
    • 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

      • Not

        private Not​(Matcher<? super T> delegate)
    • 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