📅  最后修改于: 2022-03-11 14:52:33.354000             🧑  作者: Mango
ImmutableMap immutableMap
= ImmutableMap.of("USA", "North America", "Costa Rica", "North America");
assertTrue(immutableMap.containsKey("USA"));
assertTrue(immutableMap.containsKey("Costa Rica"));