Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 20440 invoked from network); 7 Nov 2003 22:44:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Nov 2003 22:44:27 -0000 Received: (qmail 2119 invoked by uid 500); 7 Nov 2003 22:44:12 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 1893 invoked by uid 500); 7 Nov 2003 22:44:10 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 1880 invoked from network); 7 Nov 2003 22:44:10 -0000 Received: from unknown (HELO protactinium.btinternet.com) (194.73.73.176) by daedalus.apache.org with SMTP; 7 Nov 2003 22:44:10 -0000 Received: from host81-128-98-84.in-addr.btopenworld.com ([81.128.98.84] helo=oemcomputer) by protactinium.btinternet.com with smtp (Exim 3.22 #23) id 1AIFKy-00047r-00 for commons-dev@jakarta.apache.org; Fri, 07 Nov 2003 22:44:16 +0000 Message-ID: <006d01c3a580$ee5ee820$54628051@oemcomputer> From: "Stephen Colebourne" To: "Jakarta Commons Developers List" Subject: [collections] MapIterator asMapEntry method Date: Fri, 7 Nov 2003 22:46:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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