commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
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 :-)

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message