Javadoc of Collector shows how to collect elements of a stream into a new List. Is there an one-liner that adds the results into an existing ArrayList?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *