new HashMap<String, Map<GlobalStreamId,Double>>();
Map<Integer, Object> statics = staticsMap
.get(StaticsType.process_latencies);
GlobalStreamId streamIdSample = new GlobalStreamId("", "");
Map<String, Map<GlobalStreamId, Double>> raw =
convertKey(statics, streamIdSample, Double.valueOf(0));
for (Entry<String, Map<GlobalStreamId, Double>> windowEntry : raw.entrySet()) {
String windowStr = windowEntry.getKey();
Map<GlobalStreamId, Double> oldStreamMap = windowEntry.getValue();
Map<GlobalStreamId, Double> newStreamMap = new HashMap<GlobalStreamId, Double>();
for (Entry<GlobalStreamId, Double> entry: oldStreamMap.entrySet()) {
GlobalStreamId key = entry.getKey();
Double value = entry.getValue();
if (value == null) {
newStreamMap.put(key, Double.valueOf(0));
}else {