Еще не корректная работа с Map'ами убивает Ахапту
Map map;
MapIterator it;
;
map = new Map(Types::Integer, Types::Integer);
map.insert(1,1);
map.insert(2,10);
it = new MapIterator(map);
while(it.more())
{
map.remove(it.key());
map.insert(it.key(), 10);
it.next();
}