TreeMap Class
public static void main(String[] args){ TreeMap<String, String> test = new TreeMap(); test.put("A","1" ); test.put("a","1" ); test.put("가","1" ); test.put("b","1" ); test.put("c","1" ); test.put("1","1" ); test.put("9","1" ); System.out.println(test.entrySet()); // System.out.println("------------------------------"); Set<Entry<String, String>> Ttest = test.entrySet(); for(Entry tmp : Ttest){ System.out.print(","+tmp.getKey()+" = "+tmp.getValue()+"\t"); // 키와 값 확인 }//for System.out.println(); System.out.println("------------------------------"); System.out.println(test.firstKey()); // 맨 앞에 키 System.out.println(test.lastKey(...