본문 바로가기

Work/코드 (잊기 쉬운 것들)

[java] Hash Keyset Sort

String[] keys = (String[]) threadHM.keySet().toArray(new String[0]);

Arrays.sort(keys);