java Map对象内容拷贝

 HashMap map = new HashMap();
 JobDataMap qzMap = context.getJobDetail().getJobDataMap();
 Iterator i = qzMap.keySet().iterator();
      while (i.hasNext()){
        Object key = i.next();
        map.put( key, qzMap.get( key ) );
      }

你可能感兴趣的:(java MAP)