mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
testdata for IDEA-123869
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
class Test {
|
||||
|
||||
{
|
||||
Map<String, ? extends Set<Integer>> myMap = null;
|
||||
|
||||
myMap.entrySet().parallelStream()
|
||||
.map(it -> {
|
||||
final ArrayList<Integer> myList = newArrayList(it.getValue());
|
||||
return myList.size();
|
||||
})
|
||||
.forEach(System.out::println);
|
||||
}
|
||||
|
||||
public static <E> ArrayList<E> newArrayList(Iterable<? extends E> elements) { return null; }
|
||||
}
|
||||
Reference in New Issue
Block a user