Map Enumerator

  1. Map enumerators are automatically created on the same tier as the map when you call the Map.getEnumerator method.
  2. Using the MapEnumerator class avoids a potential problem in code marked as Called from, where the iterator and map can end up on separate tiers
  3. Map enumerators require less code than map iterators, they perform slightly better.

Map Iterator

  1. Map Iterator should be used when you want to delete items from a list by using the MapIterator.delete method.