mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 06:05:50 +07:00
GitOrigin-RevId: 51f47646dbe68e9182b75e3058b0d1216ada92e6
8 lines
206 B
Java
8 lines
206 B
Java
import java.util.*;
|
|
|
|
class MyTest {
|
|
private static <K, V> HashMap<K, V> createMultiMap(boolean identityKeys) {
|
|
return new HashMap<>(identityKeys ? new HashMap<>() : Collections.emptyMap()) {};
|
|
}
|
|
}
|