testdata for IDEA-123869

This commit is contained in:
Anna Kozlova
2014-04-11 17:06:05 +02:00
parent 675cd3802a
commit 5e4751f25f
2 changed files with 23 additions and 0 deletions
@@ -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; }
}