benjamin-confino opened a new pull request, #515: URL: https://github.com/apache/commons-collections/pull/515
Resolves: https://issues.apache.org/jira/browse/COLLECTIONS-856 This documents the interaction between a peeking iterator and a filtering iterator; that if you call `peek()` or `element()`, `fill()` will put the next predicate approved element from the underlying filtering iterator, stash it in `slot`, ensuring it will be returned in the future even if the object changes and no longer matches the predicate. (This PR also removes an incorrect line saying `element()` will return null if the underlying iterator is exhausted) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
