commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [Collections] Enable remove in FilterIterator
Date Wed, 29 Jan 2003 20:03:46 GMT
Would you be interested in supplying a patch, including the test case?
http://jakarta.apache.org/site/source.html#Patches

Stephen

----- Original Message -----
From: "Ralph Wagner" <ralph.wagner@web.de>
To: <commons-user@jakarta.apache.org>
Sent: Wednesday, January 29, 2003 12:52 PM
Subject: [Collections] Enable remove in FilterIterator


> At the moment the commons.collections.iterators.FilterIterator does not
implement the "remove" method.
> The comment says:
>      * Always throws UnsupportedOperationException as this class
>      * does look-ahead with its internal iterator.
>
> This is only a problem if the "hasNext" method was already called, for the
other cases the remove operation could be implemented.
>
> Ralph
>
____________________________________________________________________________
__
> Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit der
> vCard ist Schluss damit! Infos -
http://freemail.web.de/features/?mc=021153
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


Mime
View raw message