Defines a map that can be iterated directly without needing to create an entry set.
A map iterator is an efficient way of iterating over maps. There is no need to access the entry set or use Map Entry objects.
IterableMap map = new HashedMap(); MapIterator it = map.mapIterator(); while (it.hasNext()) { String key = it.next(); Integer value = it.getValue(); it.setValue(value + 1); }
@param < K> the type of the keys in the map
@param < V> the type of the values in the map
@since 3.0
@version $Id: IterableMap.java 1469004 2013-04-17 17:37:03Z tn $