commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Wagner <>
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"
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.

Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit der
vCard ist Schluss damit! Infos -

View raw message