Use this tag for questions related to the use of the Stream API.
I want to translate a List of objects into a Map using Java 8's streams and lambdas. This is how …
java lambda java-8 java-streamWhat is the easiest/shortest way to convert a Java 8 Stream into an array?
java arrays java-8 java-streamI've just started playing with Java 8 lambdas and I'm trying to implement some of the things that I'm used to …
java java-8 java-streamIn Java 8, what's the difference between Stream.map() and Stream.flatMap() methods?
java java-8 java-streamI want to sum a list of integers. It works as follows, but the syntax does not feel right. Could …
java java-8 java-streamWhich of the following is better practice in Java 8? Java 8: joins.forEach(join -> mIrc.join(mSession, join)); Java 7: …
java for-loop java-8 java-streamThere are a lot of useful new things in Java 8. E.g., I can iterate with a stream over a …
java java-8 java-streamI was playing around with Java 8 lambdas to easily filter collections. But I did not find a concise way to …
collections lambda java-8 java-streamIn Java 8 how can I filter a collection using the Stream API by checking the distinctness of a property of …
java collections java-8 java-stream distinct-valuesI'm using java lambda to sort a list. how can I sort it in a reverse way? I saw this …
java lambda java-8 java-stream