Показать сообщение отдельно
Старый 06.05.2005, 09:43   #4  
Lexa_imported is offline
Lexa_imported
Участник
 
3 / 10 (1) +
Регистрация: 27.10.2004
Еще не корректная работа с 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();
}