- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 62 for retainAll (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} @Override public boolean retainAll(Collection<?> c) { return Iterators.retainAll(iterator(), c); } }; } }) .named("ArrayList with Iterators.removeAll and retainAll") .withFeatures(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java
return standardRemove(object); } @Override public boolean removeAll(Collection<?> collection) { return standardRemoveAll(collection); } @Override public boolean retainAll(Collection<?> collection) { return standardRetainAll(collection); } @Override public Object[] toArray() { return standardToArray(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.retainAll(siblingCollection); fail("retainAll succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
return standardRemove(object); } @Override public boolean removeAll(Collection<?> collection) { return standardRemoveAll(collection); } @Override public boolean retainAll(Collection<?> collection) { return standardRetainAll(collection); } @Override public int size() { return standardSize(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} @Override public boolean retainAll(Collection<?> c) { return Iterators.retainAll(iterator(), c); } }; } }) .named("ArrayList with Iterators.removeAll and retainAll") .withFeatures(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
} if (intersect(features, requirements.getAbsentFeatures())) { if (logger.isLoggable(FINER)) { Set<Feature<?>> unwantedFeatures = copyToSet(requirements.getAbsentFeatures()); unwantedFeatures.retainAll(features); logger.finer( Platform.format( "%s: skipping because these features are present: %s", method, unwantedFeatures)); } return false; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
} public boolean removeAll(final Collection<?> c) { return parent.removeAll(c); } public boolean retainAll(final Collection<?> c) { return parent.retainAll(c); } public void clear() { parent.clear(); } public boolean equals(final Object o) { return parent.equals(o);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
@Override public boolean removeAll(Collection<?> c) { return removeAllImpl(this, c); } @Override public boolean retainAll(Collection<?> c) { return super.retainAll(checkNotNull(c)); // GWT compatibility } } /** * Returns an immutable set instance containing the given enum elements. Internally, the returnedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
*/ @CanIgnoreReturnValue public static boolean retainAll(Iterable<?> removeFrom, Collection<?> elementsToRetain) { return (removeFrom instanceof Collection) ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) : Iterators.retainAll(removeFrom.iterator(), elementsToRetain); } /** * Removes, from an iterable, every element that satisfies the provided predicate.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testRetainAll_collection() { List<String> list = newArrayList("a", "b", "c", "d", "e"); assertTrue(Iterables.retainAll(list, newArrayList("b", "d", "f"))); assertEquals(newArrayList("b", "d"), list); assertFalse(Iterables.retainAll(list, newArrayList("b", "e", "d"))); assertEquals(newArrayList("b", "d"), list); } public void testRetainAll_iterable() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0)