- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 103 for retainAll (0.07 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
assertThrows(NullPointerException.class, () -> collection.retainAll(null)); } private void expectReturnsTrue(Target target) { String message = Platform.format("retainAll(%s) should return true", target); assertTrue(message, collection.retainAll(target.toRetain)); } private void expectReturnsFalse(Target target) { String message = Platform.format("retainAll(%s) should return false", target);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
assertThrows(NullPointerException.class, () -> collection.retainAll(null)); } private void expectReturnsTrue(Target target) { String message = Platform.format("retainAll(%s) should return true", target); assertTrue(message, collection.retainAll(target.toRetain)); } private void expectReturnsFalse(Target target) { String message = Platform.format("retainAll(%s) should return false", target);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
} } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE. } } @Override public void testKeySetRemoveAllNullFromEmpty() { try { super.testKeySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
@Override public boolean removeAll(Collection<?> c) { return delegate.keySet().removeAll(c); } @Override public boolean retainAll(Collection<?> c) { return delegate.keySet().retainAll(c); } }; } @Override public Collection<V> values() { return new ForwardingCollection<V>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
} } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE. } } @Override public void testKeySetRemoveAllNullFromEmpty() { try { super.testKeySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
assertTrue( "containsDuplicates.retainAll(subset) should return true", collection.retainAll(MinimalCollection.of(e2()))); expectContents(e2()); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRetainAll_countIgnored() { resetContainer(getSubjectGenerator().create(e0(), e2(), e1(), e0())); assertTrue(getList().retainAll(asList(e0(), e1())));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
} @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE. } } @Override public void testKeySetRemoveAllNullFromEmpty() { try { super.testKeySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override public boolean removeAll(Collection<?> c) { return removeEntriesIf(Maps.keyPredicateOnEntries(in(c))); } @Override public boolean retainAll(Collection<?> c) { return removeEntriesIf(Maps.keyPredicateOnEntries(not(in(c)))); } @Override public boolean remove(@Nullable Object o) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
} } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE. } } @Override public void testKeySetRemoveAllNullFromEmpty() { try { super.testKeySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
@Override public boolean removeAll(Collection<?> c) { return delegate.keySet().removeAll(c); } @Override public boolean retainAll(Collection<?> c) { return delegate.keySet().retainAll(c); } }; } @Override public Collection<V> values() { return new ForwardingCollection<V>() { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0)