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

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy