- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testRemoveZeros (0.07 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertTrue(map.containsKey(key)); assertTrue(map.remove(key, 0L)); assertEquals(0L, map.get(key)); assertFalse(map.containsKey(key)); } public void testRemoveZeros() { AtomicLongMap<Object> map = AtomicLongMap.create(); Set<Object> nonZeroKeys = Sets.newHashSet(); for (int i = 0; i < ITERATIONS; i++) { Object key = new Object(); long value = i % 2;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0)