| Package | Description |
|---|---|
| org.aoju.bus.core.utils | |
| org.aoju.bus.cron.pattern.matcher |
| Modifier and Type | Method and Description |
|---|---|
static <T> int |
CollUtils.count(Iterable<T> iterable,
Matcher<T> matcher)
集合中匹配规则的数量
|
static boolean |
StringUtils.isAllCharMatch(CharSequence value,
Matcher<Character> matcher)
字符串的每一个字符是否都与定义的匹配器匹配
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ValueMatcher
值匹配器
用于匹配日期位中对应数字是否匹配
|
| Modifier and Type | Class and Description |
|---|---|
class |
AlwaysTrueValueMatcher
值匹配,始终返回
true |
class |
BoolArrayValueMatcher
将表达式中的数字值列表转换为Boolean数组,匹配时匹配相应数组位
|
class |
DayOfMonthValueMatcher
每月第几天匹配
考虑每月的天数不同,切存在闰年情况,日匹配单独使用
|
class |
YearValueMatcher
年匹配
考虑年数字太大,不适合boolean数组,单独使用列表遍历匹配
|
Copyright © 2020. All rights reserved.