mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 10:21:05 +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()) {};
|
|
}
|
|
}
|