[collections] MapIterator asMapEntry method

2003-11-07 Thread Stephen Colebourne
The MapIterator interface has an asMapEntry() method that gets the current element at the iterator as a Map Entry. The interface desires that the MapEntry returned is connected to the map, such that changes made to setValue affect the map. This can be difficult to implement, and if used would

Re: [collections] MapIterator asMapEntry method

2003-11-07 Thread __matthewHawthorne
+1. I don't really see the point of the asMapEntry() method either. If someone wants the entries, they could just do it the old fashioned way [Map.entrySet().iterator()]. Stephen Colebourne wrote: The MapIterator interface has an asMapEntry() method that gets the current element at the