com.cybermkd.common.util.matcher.Matcher Maven / Gradle / Ivy
package com.cybermkd.common.util.matcher;
/**
* Created by ice on 14-9-10.
*/
public interface Matcher {
/**
* 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);
}