Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveIfWithConcurrentRemoval (0.17 sec)

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

                  } else {
                    return false;
                  }
                });
        assertEquals(3, map.size());
        assertFalse(map.containsValue(1));
      }
    
      public void testRemoveIfWithConcurrentRemoval() {
        LocalCache<Integer, Integer> map =
            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        map.put(0, 1);
        map.put(1, 1);
        map.put(2, 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