Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

          assertTrue(segment.count >= liveCount);
          assertTrue(segment.count <= originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
      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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top