biya-bi commented on PR #696: URL: https://github.com/apache/commons-lang/pull/696#issuecomment-1846268018
> Is there really a need to provide a method to pick the first item of a list? Seems unnecessary bloat to me. From my understanding, the idea is to pick elements that satisfy the passed in predicate. We may or may not be interested in all matches. In certain scenarios, just knowing that one occurance exists is enough for certain processing. The short-circuiting terminal operation findFirst() helps in such cases. -- 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]
