- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testValuesRemove (1.66 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
* Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to * a collection of other sets. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); assertTrue(multimap().asMap().values().remove(singleton(v0()))); assertEquals(2, multimap().size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
* Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to * a collection of other sets. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); assertTrue(multimap().asMap().values().remove(singleton(v0()))); assertEquals(2, multimap().size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
* Thus, calls like asMap().values().remove(someList) are safe because they are comparing a list * to a collection of other lists. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); assertTrue(multimap().asMap().values().remove(singletonList(v0()))); assertEquals(2, multimap().size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
* Thus, calls like asMap().values().remove(someList) are safe because they are comparing a list * to a collection of other lists. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); assertTrue(multimap().asMap().values().remove(singletonList(v0()))); assertEquals(2, multimap().size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} else { iterator.next(); assertThrows(UnsupportedOperationException.class, iterator::remove); } assertInvariants(map); } public void testValuesRemove() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } Collection<V> valueCollection = map.values();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0)