- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,398 for Collection (0.24 sec)
-
guava/src/com/google/common/collect/Multisets.java
static boolean removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) { Collection<?> collection = (elementsToRemove instanceof Multiset) ? ((Multiset<?>) elementsToRemove).elementSet() : elementsToRemove; return self.elementSet().removeAll(collection); } /** An implementation of {@link Multiset#retainAll}. */
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-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
* half of that is more awkward to arrange... */ private static <T> Iterable<T> iterable(Collection<T> collection) { // return collection::iterator; return new Iterable<T>() { @Override public Iterator<T> iterator() { return collection.iterator(); } }; } public void testEquals() { new EqualsTester()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return false; } @Override public boolean removeAll(Collection<?> collection) { return removeAllKeys(unfiltered, predicate, collection); } @Override public boolean retainAll(Collection<?> collection) { return retainAllKeys(unfiltered, predicate, collection); } @Override public @Nullable Object[] toArray() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return false; } @Override public boolean removeAll(Collection<?> collection) { return removeAllKeys(unfiltered, predicate, collection); } @Override public boolean retainAll(Collection<?> collection) { return retainAllKeys(unfiltered, predicate, collection); } @Override public @Nullable Object[] toArray() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
public void testAsSetIteration() { Set<Entry<String, Collection<Integer>>> set = new LinkedHashSet<>( asList( immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)), immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)), immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 18.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
assertTrue(copy instanceof ImmutableMultiset); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) { Collection<E> copy = reserialize(original); assertTrue(elementsEqual(original, copy)); assertTrue(copy instanceof ImmutableCollection); return copy; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* * @see org.apache.maven.api.services.ArtifactResolver#resolve(Session, Collection) */ @Nonnull Collection<DownloadedArtifact> resolveArtifacts(@Nonnull Collection<? extends ArtifactCoordinates> coordinates); /** * Shortcut for {@code getService(ArtifactResolver.class).resolve(...)}. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
Object value = ee.evaluate("${mojo.plugin.dependencies}"); assertInstanceOf(Collection.class, value); @SuppressWarnings("unchecked") Collection<Artifact> artifacts = (Collection<Artifact>) value; assertEquals(1, artifacts.size()); Artifact result = artifacts.iterator().next();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
return mainArtifact.flatMap(artifactManager::getPath); } @Nonnull @Override public Collection<ProducedArtifact> getAttachedArtifacts(@Nonnull Project project) { requireNonNull(project, "project" + " cannot be null"); Collection<ProducedArtifact> attached = map(getMavenProject(project).getAttachedArtifacts(), a -> getSession(project)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* </p> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * * List<String> list = ...; * for (Indexed<String> indexed : indexed(list)) { * System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * import static org.codelibs.core.io.LineIterator.*;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.3K bytes - Viewed (0)