Lambda Expressions and the Stream API in Java 8
Tuesday, June 17, 2014
Using lambda expressions, the new Stream API for Collections allows developers to break out of the traditional, imperative, ‘for/while’ style of collection manipulation in favor of a syntax that is far more expressive and intentional. We’ll take a quick look at how we can replace basic looping constructs with streams before moving on to producing more complex data manipulations using dynamic strategies. Finally, we’ll see how we can reduce execution times by taking advantage of the native concurrency features of the stream API.