Class OrStringPattern

    • Constructor Detail

      • OrStringPattern

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

      • matches

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