On Sep 16, 2013, at 9:49 PM, Mike Duigou <[email protected]> wrote:

> I think this is a reasonable compromise (and will be what I use for the other 
> cases).
> 

OK, +1 from me.

Paul.

> Thanks!
> 
> Mike
> 
> On Sep 16 2013, at 01:13 , Paul Sandoz wrote:
> 
>> Hi Mike,
>> 
>> I suppose there could also be implementations of removeIf that always throw 
>> UOE regardless of whether an element matched or not i.e. those that override 
>> just to throw UOE.
>> 
>> So perhaps:
>> 
>> * @throws UnsupportedOperationException if elements cannot be removed 
>> *         from this collection.  Implementations may throw this exception if 
>> a
>> *         matching element cannot be removed or if, in general, removal is 
>> not 
>> *         supported.
>> 
>> Paul.

Reply via email to