reset

reset() updating;

The reset method of the MergeIterator class restarts an iteration. After executing this method, the following next method would start from the first entry in the merged view; that is, it would apply to all dictionaries. Similarly, the back method would start from the last entry in the merged view.