uschindler commented on PR #15823: URL: https://github.com/apache/lucene/pull/15823#issuecomment-4132439091
Hi, I don't think we should add those self made Spliterators and all this internal collection wrapper stuff. What I generally do when I want a filtered Iterator: get a stream from the collection/it's able (for iterables there's a trick to get it, but I'd prefer a collection instead of Iterables). The use all stream filtering or mapping and finally wrap the thing into an iterator. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
