Class CharacterConstant
java.lang.Object
io.github.xezzon.zeroweb.common.constant.CharacterConstant
字符常量类,提供常用字符集数组。
此类为工具类,包含小写字母、大写字母和数字字符的静态常量数组。
它旨在提供方便且预初始化的字符集,以避免在运行时重复创建。
- Author:
- xezzon
-
Method Summary
Modifier and TypeMethodDescriptionstatic char[]getDigit()获取数字字符集数组。static char[]获取小写字符集数组。static char[]获取大写字符集数组。
-
Method Details
-
getLowercase
public static char[] getLowercase()获取小写字符集数组。- Returns:
- 包含所有小写英文字母的字符数组。
-
getUppercase
public static char[] getUppercase()获取大写字符集数组。- Returns:
- 包含所有大写英文字母的字符数组。
-
getDigit
public static char[] getDigit()获取数字字符集数组。- Returns:
- 包含所有数字字符的字符数组。
-