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

cn.hutool.core.lang.Matcher Maven / Gradle / Ivy

There is a newer version: 5.8.34
Show newest version
package cn.hutool.core.lang;

/**
 * 匹配接口
 *
 * @param  匹配的对象类型
 * @author Looly
 */
@FunctionalInterface
public interface Matcher {
	/**
	 * 给定对象是否匹配
	 *
	 * @param t 对象
	 * @return 是否匹配
	 */
	boolean match(T t);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy