Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
471 views

Want to find matching elements from two large data list using parallel stream in java 8

I have some code where I have two API calls and I store the data in lists. I want to compare both the lists and find matching and non matching data and accordingly set the status to "YES" if ...
SUJIN1DV's user avatar
5 votes
3 answers
7k views

What is the most efficient List-Type for Java parallelStream?

I have a List<String> toProcess which I want to process further with toProcess.parallelStream().map(/*some function*/).collect(Collectors.toList()); Which is the best List-type (like LinkedList,...
JFBM's user avatar
  • 954