All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.dreampie.common.util.pattern.PatternMatcher Maven / Gradle / Ivy

There is a newer version: 1.3.0.RELEASE
Show newest version
package cn.dreampie.common.util.pattern;

/**
 * Created by ice on 14-9-10.
 */
public interface PatternMatcher {

  /**
   * Returns true if the given source matches the specified pattern,
   * false otherwise.
   *
   * @param pattern the pattern to match against
   * @param source  the source to match
   * @return true if the given source matches the specified pattern,
   * false otherwise.
   */
  boolean matches(String pattern, String source);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy