commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject [collections] MapIterator asMapEntry method
Date Fri, 07 Nov 2003 22:46:05 GMT
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 probably mess up the iterator.

How useful is the asMapEntry() method? I'm planning to remove it if no one
objects :-)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message