Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRemoveIfWithConcurrentModification (0.33 seconds)

  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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top