查看完整内容
public class StringTest {
public static void main(String[] args) {
TreeMap tm = new TreeMap();
String s = "aswqss52hasqss";
char[] chs = s.toCharArray();
Set set = tm.keySet();
for (Character chr : chs) {
Integer i = tm.get(chr);
if (!(chr >= '0' && chr