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

com.dahuatech.hutool.core.lang.Matcher Maven / Gradle / Ivy

package com.dahuatech.hutool.core.lang;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy