MapIterator it; // вместо MapIterator it = new MapIterator(_mapBuff); ; ... _mapBuff ... it = new MapIterator(_mapBuff); ... it