Class AndStringPattern

    • Constructor Detail

      • AndStringPattern

        public AndStringPattern​(StringPattern... pattern)
        Creates instance with specified patterns.
    • Method Detail

      • matches

        public boolean matches​(java.lang.String string)
        Return false if a pattern in the sequence returns false. Otherwise true is returned.
        Parameters:
        string - String to be matched. Can be null.