Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveIfWithConcurrentModification (1.89 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          assertThat(segment.count).isAtMost(originalCount);
          assertThat(ImmutableMap.copyOf(map)).isEqualTo(originalMap);
        }
      }
    
      public void testRemoveIfWithConcurrentModification() {
        LocalCache<Integer, Integer> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        map.put(1, 1);
        map.put(2, 1);
        map.put(3, 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
Back to top