commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Wagner <ralph.wag...@web.de>
Subject [Collections] Enable remove in FilterIterator
Date Wed, 29 Jan 2003 12:52:55 GMT
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


Mime
View raw message