- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for RemoveAll (0.18 sec)
-
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
Set<Object> keys = cache.asMap().keySet(); assertFalse(keys.remove(null)); assertFalse(keys.remove(6)); assertFalse(keys.remove(-6)); assertFalse(keys.removeAll(asList(null, 0, 15, 1500))); assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); checkEmpty(keys); checkEmpty(cache); } } public void testKeySet_remove() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
// invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove), // for example entryToRemove.getValue() might be null. Entry<K, V> entryToRemoveCopy = mapEntry(entryToRemove.getKey(), entryToRemove.getValue()); int initialSize = map.size(); boolean didRemove = entrySet.removeAll(entriesToRemove); assertTrue(didRemove);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} catch (UnsupportedOperationException expected) { } assertMultimapRemainsUnmodified(multimap, originalEntries); // Test #removeAll() try { multimap.removeAll(sampleKey); fail("removeAll succeeded on unmodifiable multimap"); } catch (UnsupportedOperationException expected) { } assertMultimapRemainsUnmodified(multimap, originalEntries);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} } @Override public boolean containsKey(@Nullable Object key) { return asMap().get(key) != null; } @Override public Collection<V> removeAll(@Nullable Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} } @Override public boolean containsKey(@Nullable Object key) { return asMap().get(key) != null; } @Override public Collection<V> removeAll(@Nullable Object key) { return MoreObjects.firstNonNull(asMap().remove(key), unmodifiableEmptyCollection()); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* the values corresponding to {@code key} * </ul> * * <p>The collections returned by the {@link #replaceValues replaceValues} and {@link #removeAll * removeAll} methods, which contain values that have just been removed from the multimap, are * naturally <i>not</i> views. * * <h3>Subinterfaces</h3> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
return remove(element, 1) > 0; } /** * A sensible definition of {@link #removeAll} in terms of the {@code removeAll} method of {@link * #elementSet}. If you override {@link #elementSet}, you may wish to override {@link #removeAll} * to forward to this implementation. * * @since 7.0 */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
} /** * Confirm that removeAll() returns a List that implements RandomAccess, even though get() * doesn't. */ public void testRemoveAllRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.removeAll("foo") instanceof RandomAccess); assertTrue(multimap.removeAll("bar") instanceof RandomAccess); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
} @Override public boolean remove(final Object o) { return parent.remove(o); } @Override public boolean removeAll(final Collection<?> c) { return parent.removeAll(c); } @Override public boolean retainAll(final Collection<?> c) { return parent.retainAll(c); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.5K bytes - Viewed (0)