Class Matchers.Any

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

    private static class Matchers.Any
    extends AbstractMatcher<java.lang.Object>
    implements java.io.Serializable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Any()  
    • Method Summary

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

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

      • Any

        private Any()
    • Method Detail

      • matches

        public boolean matches​(java.lang.Object o)
        Description copied from interface: Matcher
        Returns true if this matches t, false otherwise.
        Specified by:
        matches in interface Matcher<java.lang.Object>
      • toString

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

        public java.lang.Object readResolve()