List> pcList = null; Map pcMap = new HashMap(); ComputerConfigurations tempPC = null; if
List> pcList = new ArrayList>(); Map pcMap = new HashMap(); ComputerConfigurations tempPC = null; if (historyList != null) { Iterator iterator = historyList.iterator(); while (iterator.hasNext()) { tempPC = (ComputerConfigurations) iterator.next(); pcMap.put(tempPC.getEnvironment(), tempPC); pcList.add((Map) pcMap); } }