To be more specific... Is it bad to return a Map after doing this ? :
return m.keySet().removeAll(u.keySet()); tx, ~akb -----Original Message----- From: A. Kevin Baynes [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 4:58 PM To: [EMAIL PROTECTED] Subject: HashMap.retainAll() ?? I have two Maps, and I would like to perform retainAll()/removeAll() operations on it in the same way as Collection.retainAll()/removeAll(). Of course, these methods do not exist on Map. Is there a way to achieve this functionality ---without Iterator--- ? Does this functionality exist in any of the open source Collections libraries? tx, ~akb _______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
