MapIterator
over the map. A map iterator is an efficient way of iterating over maps. It does not require that the map is stored using Map Entry objects which can increase performance. BidiMap map = new DualHashBidiMap(); MapIterator it = map.mapIterator(); while (it.hasNext()) { Object key = it.next(); Object value = it.getValue(); it.setValue("newValue"); }@return a map iterator
|
|
|
|
|
|
|
|
|
|