mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
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()) {};
|
|
}
|
|
}
|