Class Matchers.Not<T>

java.lang.Object
com.google.inject.matcher.AbstractMatcher<T>
com.google.inject.matcher.Matchers.Not<T>
All Implemented Interfaces:
Matcher<T>, Serializable
Enclosing class:
Matchers

private static class Matchers.Not<T> extends AbstractMatcher<T> implements Serializable
  • Field Details

  • Constructor Details

    • Not

      private Not(Matcher<? super T> delegate)
  • Method Details

    • 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(Object other)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object