📜  java 操作字母表 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:40.048000             🧑  作者: Mango

代码示例3
for (int i = 'A'; i <= 'Z'; i++)
    for (fileName: fileNameList) {
        if ((int)fileName.charAt(0) == i) {
            AlphabetList.add((char)i);
        }
    }
}