if (dist==null) return;
TreeMap<DistributionData, DistributionData> distMap=new TreeMap<DistributionData, DistributionData>(new DistributionComparator());
setDistributionMap(distMap);
long projectId=getUniqueId();
for (Iterator i=dist.iterator();i.hasNext();){
DistributionData d=(DistributionData)i.next();
if (d.getProjectId()==projectId) distMap.put(d,d);
}
System.out.println("DistributionMap: "+dist.size()+" elements, updated in "+(System.currentTimeMillis()-t)+" ms");
}