if (map.size() > 0)
{
for (Iterator i = map.entrySet().iterator(); i.hasNext();)
{
Map.Entry entry = (Map.Entry) i.next();
ValueMetaData key = (ValueMetaData) entry.getKey();
ValueMetaData value = (ValueMetaData) entry.getValue();
Object keyValue = key.getValue(keyTypeInfo, cl);
Object valueValue = value.getValue(valueTypeInfo, cl);
result.put(keyValue, valueValue);
}
}
return result;
}