SortedMapall = null; all = Charset.availableCharsets(); Iterator > iter = null; iter = all.entrySet().iterator(); while(iter.hasNext()){ Map.Entry me = iter.next(); System.out.println(me.getKey()); }
本文共 324 字,大约阅读时间需要 1 分钟。
SortedMapall = null; all = Charset.availableCharsets(); Iterator > iter = null; iter = all.entrySet().iterator(); while(iter.hasNext()){ Map.Entry me = iter.next(); System.out.println(me.getKey()); }
转载于:https://my.oschina.net/liangxiao/blog/126339