com.xiaoleilu.hutool.cron.pattern.matcher.AlwaysTrueValueMatcher Maven / Gradle / Ivy
package com.xiaoleilu.hutool.cron.pattern.matcher;
import com.xiaoleilu.hutool.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.");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy