| Interface | Description |
|---|---|
| CharPool |
常用字符常量
|
| StrPool |
常用字符串常量定义
|
| Class | Description |
|---|---|
| AntPathMatcher |
Ant风格的路径匹配器。
|
| AntPathMatcher.AntPathStringMatcher |
Tests whether or not a string matches against a pattern via a
Pattern. |
| AntPathMatcher.AntPatternComparator |
The default
Comparator implementation returned by
AntPathMatcher.getPatternComparator(String). |
| ASCIIStrCache |
ASCII字符对应的字符串缓存
|
| CharSequenceUtil |
CharSequence 相关工具类封装 |
| NamingCase |
命名规则封装,主要是针对驼峰风格命名、连接符命名等的封装
|
| PasswdStrength |
检测密码强度
来自:https://github.com/venshine/CheckPasswordStrength |
| Simhash |
Simhash是一种局部敏感hash,用于海量文本去重。
|
| StrBuilder |
可复用的字符串生成器,非线程安全
TODO 6.x移除此类,java8的StringBuilder非常完善了,无需重写。 |
| StrFormatter |
字符串格式化工具
|
| StrJoiner |
字符串连接器(拼接器),通过给定的字符串和多个元素,拼接为一个字符串
相较于 StringJoiner提供更加灵活的配置,包括:
支持任意Appendable接口实现
支持每个元素单独wrap
支持自定义null的处理逻辑
支持自定义默认结果
|
| StrMatcher |
字符串模式匹配,使用${XXXXX}作为变量,例如:
pattern: ${name}-${age}-${gender}-${country}-${province}-${city}-${status}
text: "小明-19-男-中国-河南-郑州-已婚"
result: {name=小明, age=19, gender=男, country=中国, province=河南, city=郑州, status=已婚}
|
| StrSplitter |
字符串切分器,封装统一的字符串分割静态方法
|
| TextSimilarity |
文本相似度计算
工具类提供者:【杭州】fineliving |
| UnicodeUtil |
提供Unicode字符串和普通字符串之间的转换
|
| Enum | Description |
|---|---|
| PasswdStrength.CHAR_TYPE |
字符类型枚举
|
| PasswdStrength.PASSWD_LEVEL |
密码等级枚举
|
| StrJoiner.NullMode |
null处理的模式 |
Copyright © 2025. All rights reserved.