- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testRemoveExactly (0.08 sec)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.remove(KEY, current)).thenReturn(false); assertEquals(countToRemove, multiset.remove(KEY, countToRemove)); assertEquals(0, current.get()); } public void testRemoveExactly() { ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create(); cms.add("a", 2); cms.add("b", 3); assertThrows(IllegalArgumentException.class, () -> cms.removeExactly("a", -2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
when(backingMap.remove(KEY, current)).thenReturn(false); assertEquals(countToRemove, multiset.remove(KEY, countToRemove)); assertEquals(0, current.get()); } public void testRemoveExactly() { ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create(); cms.add("a", 2); cms.add("b", 3); assertThrows(IllegalArgumentException.class, () -> cms.removeExactly("a", -2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0)