Searched refs:mapCopy (Results 1 – 2 of 2) sorted by relevance
375 Map<Integer,Integer> mapCopy = Map.copyOf(new HashMap<>(Map.of(1, 101, 2, 202, 3, 303))); in realMain() local376 testMap(mapCopy); in realMain()377 testImmutableMap(mapCopy); in realMain()378 testMapMutatorsAlwaysThrow(mapCopy); in realMain()
904 Map<K, V> mapCopy = new LinkedHashMap<K, V>(map); in check_unmodifiableOrderedMap_defaultMethods() local945 assertEquals(mapCopy, map); in check_unmodifiableOrderedMap_defaultMethods()