LUIS ENRIQUE LEON thinks this is interesting:

Java 8 can optimize operations on streams in a way that Java can’t do for collections—for
example, it can group together several operations on the same stream, so that the data is traversed only once instead of expensively
traversing it multiple times.

Share this highlight

Get Instant Access Now

Unlock the rest of this book
and 30,000 other books and videos

By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service.