Class AlwaysTrueMatcher
java.lang.Object
org.aoju.bus.cron.pattern.matcher.AlwaysTrueMatcher
- All Implemented Interfaces:
org.aoju.bus.core.lang.Matcher<Integer>,PartMatcher
所有值匹配,始终返回
true- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AlwaysTrueMatcher
public AlwaysTrueMatcher()
-
-
Method Details
-
match
- Specified by:
matchin interfaceorg.aoju.bus.core.lang.Matcher<Integer>
-
nextAfter
public int nextAfter(int value) Description copied from interface:PartMatcher获取指定值之后的匹配值,也可以是指定值本身- Specified by:
nextAfterin interfacePartMatcher- Parameters:
value- 指定的值- Returns:
- 匹配到的值或之后的值
-
toString
-