Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: iteration blues Date: Sat, 05 Nov 2011 16:14:54 -0400 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <9hhpttFi6sU1@mid.individual.net> <9866683.514.1320428761383.JavaMail.geo-discussion-forums@yqmj32> <9hj8t5FoulU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 5 Nov 2011 20:14:56 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="HSlJAUb3pGXi3i7ZL/HoAw"; logging-data="9771"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DyKVeN3tWw/llg8qVK0ap" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: Cancel-Lock: sha1:MS6nAS4BgA4YKuM2aqq+ZBnepBc= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9597 On 11/5/2011 3:40 PM, bob wrote: > > Iterator.remove() is probably not well-known because it's an optional > operation. Also, I see no easy way to tell if a given container type > supports it other than to try it. The same could be said for List.add(). -- Eric Sosman esosman@ieee-dot-org.invalid