Java 8 parallel stream of list of method param
问题 I have a method: invokList(List<Object> list); This method is inside a jar and I have no access to the source code of it. So for that, I need to execute the invokList in a parallel way, can someone help for this? The idea is to split the list to many lists and execute invokList in parallel. I have made this example: import java.util.Arrays; import java.util.Collections; import java.util.List; public class Test { public static void main(String[] args) { List<Integer> list = Arrays.asList(1,2,3