Use this tag for questions related to the use of the Stream API.
I want to parallelize the following code snipped using a parallelStream: boolean anyTrue() { for (Element e : setOfE) { if (eval(e)) { …
java lambda parallel-processing java-8 java-streamI have a List<Foo> and want a Multimap<String, Foo> where we've grouped the Foo's …
guava java-8 java-streamI understand that these methods differ the order of execution but in all my test I cannot achieve different order …
java foreach java-8 java-streamTalking about Streams, when I execute this piece of code public class Main { public static void main(String[] args) { Stream.…
java java-8 limit java-stream skipI have a Java Map that I'd like to transform and filter. As a trivial example, suppose I want to …
java java-8 java-stream collectorsI have few tables with big amount of data (about 100 million records). So I can't store this data in memory …
java jdbc lambda java-stream jooqIn java 8, what's the best way to check if a List contains any duplicate? My idea was something like: list.…
java java-8 duplicates java-streamI'm reading up about Java streams and discovering new things as I go along. One of the new things I …
java java-8 java-stream peekI just started learning Java streams and faced a problem. Please take a look at a the following example. This …
java lambda java-stream method-reference functional-interfaceStream doesn't have a last() method: Stream<T> stream; T last = stream.last(); // No such method What's the …
java java-8 java-stream