📜  java 11 初始化地图 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:29.551000             🧑  作者: Mango

代码示例2
Map emptyMap = Map.of();
Map singletonMap = Map.of("key1", "value");
Map map = Map.of("key1","value1", "key2", "value2");