How we can create some Concrete collection type from Stream.collect() method
e.g for below example, I want to Created LinkedList instead of generic List.
List<Integer> list = Arrays.asList(10,20,30,40);
List<Integer> collect3 = list.stream().filter(i ->i%2==0).collect(Collectors.toList());
How can I specify, I need to create LinkedList