com.jchanghong.cron.pattern.matcher.AlwaysTrueValueMatcher Maven / Gradle / Ivy
The newest version!
package com.jchanghong.cron.pattern.matcher;
import com.jchanghong.core.util.StrUtil;
/**
* 值匹配,始终返回true
* @author Looly
*
*/
public class AlwaysTrueValueMatcher implements ValueMatcher{
@Override
public boolean match(Integer t) {
return true;
}
@Override
public String toString() {
return StrUtil.format("[Matcher]: always true.");
}
}