All Questions
2 questions
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 ...
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,...