mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
testdata for IDEA-137893
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.UnaryOperator;
|
||||
|
||||
final class Example {
|
||||
Map<String, Map<String, Set<String>>> test(Map<String, Map<String, Set<String>>> mapOfMaps) {
|
||||
return processMap(
|
||||
mapOfMaps,
|
||||
mapOfSets -> {
|
||||
return processMap(
|
||||
mapOfSets,
|
||||
set -> {
|
||||
if (true) {
|
||||
return unionSets(set);
|
||||
} else {
|
||||
return unionSets(set);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
<T> Set<T> unionSets(Set<T>... sets) {
|
||||
return null;
|
||||
}
|
||||
|
||||
<K, V> Map<K, V> processMap(Map<K, V> map, UnaryOperator<V> operator) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user