Files
plusone-commons/plusone-commons/docs/8_others.md
2025-10-24 17:02:57 +08:00

374 B

8. 其它内容

8.1. IWithCode

对于类似枚举这样的类型,通常需要设置固定的码值表示对应的含义。 可实现 IWithCodeIWithIntCodeIWithLongCode,便于在需要的地方对这些接口的实现进行处理。

8.2. 正则常量

RegexConsts 包含常见正则表达式;PatternConsts 包含对应的 Pattern 对象