Map Enumerator VS Map Iterator
Map Enumerator
Map enumerators are automatically created on the same tier
as the map when you call the Map.getEnumerator method.
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
Map enumerators require less code than map iterators, they
perform slightly better.
Map Iterator
Map Iterator should be used when you want to delete items
from a list by using the MapIterator.delete method.
No comments:
Post a Comment