public static void main(String argv[]) {
     HashMap hm = new HashMap();
     System.out.println(hm.put("aaa", "111"));

     Set set = hm.keySet();
     Object []hmKeys = set.toArray();
     for(int i = 0; i < hmKeys.length; i++)  {
          String key = (String)hmKeys[i];
          System.out.print(key);
          System.out.print(" - ");
          System.out.println((String)hm.get(key));
     }
}


글 보관함

카운터

Total : / Today : / Yesterday :
get rsstistory!