Iterator<PackageStats> i = packageStatsMap.values().iterator(); while (i.hasNext()) { PackageStats stats = i.next();
for (PackageStats stats : packageStatsMap.values()) {
	public void clearBugCounts() {		for(int i = 0; i < totalErrors.length; i++)			totalErrors[i] = 0;		Iterator<PackageStats> i = packageStatsMap.values().iterator();		while (i.hasNext()) {			PackageStats stats = i.next();			stats.clearBugCounts();		}	}