- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,122 for Collection (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} return derivedSuites; } private static final class ReserializedListGenerator<E> implements TestListGenerator<E> { final OneSizeTestContainerGenerator<Collection<E>, E> gen; private ReserializedListGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { this.gen = gen; } @Override public SampleElements<E> samples() { return gen.samples(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
* Multiset}. */ @CanIgnoreReturnValue @Override public final boolean addAll(Collection<? extends E> elementsToAdd) { return Multisets.addAllImpl(this, elementsToAdd); } @CanIgnoreReturnValue @Override public final boolean removeAll(Collection<?> elementsToRemove) { return Multisets.removeAllImpl(this, elementsToRemove); } @CanIgnoreReturnValue
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (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(...)}. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
checkNotNull(elements); if (elements instanceof Collection) { Collection<?> collection = (Collection<?>) elements; ensureRoomFor(collection.size()); if (collection instanceof ImmutableCollection) { ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection; size = immutableCollection.copyIntoArray(contents, size); return this;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
@CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testHashCode_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); int expectedHashCode = 0; for (E element : elements) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertEquals(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 3.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java
/** * A result of collecting, flattening, and resolving {@link DependencyCoordinates}s. * Dependency is the output of the <dfn>collection</dfn> process, which builds the graph of dependencies, * followed by <dfn>flattening</dfn> and <dfn>resolution</dfn>. * The version selection is done for each dependency during the collection phase. * The flatten phase keeps only a single version per ({@code groupId}, {@code artifactId}) pair.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 2.8K bytes - Click Count (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)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @NullMarked
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (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)),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 18.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Ints.java
* to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Integer>} before 12.0) */ public static int[] toArray(Collection<? extends Number> collection) { if (collection instanceof IntArrayAsList) { return ((IntArrayAsList) collection).toIntArray(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 31.3K bytes - Click Count (0)