- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for removeAllImpl (0.04 sec)
-
guava/src/com/google/common/collect/ForwardingMultiset.java
* to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardRemoveAll(Collection<?> elementsToRemove) { return Multisets.removeAllImpl(this, elementsToRemove); } /** * A sensible definition of {@link #retainAll} in terms of the {@code retainAll} method of {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
* to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardRemoveAll(Collection<?> elementsToRemove) { return Multisets.removeAllImpl(this, elementsToRemove); } /** * A sensible definition of {@link #retainAll} in terms of the {@code retainAll} method of {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
if (elements.isEmpty()) { return false; } elements.forEachEntry(self::add); return true; } /** An implementation of {@link Multiset#removeAll}. */ static boolean removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) { Collection<?> collection = (elementsToRemove instanceof Multiset) ? ((Multiset<?>) elementsToRemove).elementSet() : elementsToRemove;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
if (elements.isEmpty()) { return false; } elements.addTo(self); return true; } /** An implementation of {@link Multiset#removeAll}. */ static boolean removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) { Collection<?> collection = (elementsToRemove instanceof Multiset) ? ((Multiset<?>) elementsToRemove).elementSet() : elementsToRemove;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
// Guava issue 1013: AbstractSet and most JDK set implementations are // susceptible to quadratic removeAll performance on lists; // use a slightly smarter implementation here boolean changed = Sets.removeAllImpl((Set<V>) delegate, c); if (changed) { int newSize = delegate.size(); totalSize += newSize - oldSize; removeIfEmpty(); } return changed; } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0)