- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,122 for Collection (0.41 seconds)
-
guava/src/com/google/common/collect/Multiset.java
import com.google.errorprone.annotations.CompatibleWith; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.Spliterator; import java.util.function.Consumer; import java.util.function.ObjIntConsumer; import org.jspecify.annotations.Nullable; /** * A collection that supports order-independent equality, like {@link Set}, but may have duplicateCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.function.Predicate; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Collection#removeIf}. Can't be invoked directly; please * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
/* * Previously we had a field named list that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of list or collection but not both. */ protected final List<E> getList() { return (List<E>) collection; } /** * {@inheritDoc} * * <p>The {@code AbstractListTester} implementation overrides {@link
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
if (entry.getKey().equals(key)) { expectedValues.add(entry.getValue()); } } Collection<V> collection = multimap().asMap().get(key); if (expectedValues.isEmpty()) { assertNull(collection); } else { assertEqualIgnoringOrder(expectedValues, collection); } } } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
resetContainer(); Collection<V> collection = multimap().get(key); multimap().clear(); assertEmpty(collection); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClearPropagatesToAsMapGet() { for (K key : sampleKeys()) { resetContainer(); Collection<V> collection = multimap().asMap().get(key);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
} @Override public boolean containsAll(Collection<?> collection) { if (!allowNulls) { for (Object object : collection) { // behave badly if (object == null) { throw new NullPointerException(); } } } return super.containsAll(collection); } @Override public Iterator<E> iterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java
*/ package org.apache.maven.lifecycle.internal; import java.util.Collection; import org.apache.maven.execution.ProjectExecutionEvent; import org.apache.maven.execution.ProjectExecutionListener; import org.apache.maven.lifecycle.LifecycleExecutionException; public class CompoundProjectExecutionListener implements ProjectExecutionListener { private final Collection<ProjectExecutionListener> listeners;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
import static java.util.Collections.singletonList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Iterators; import com.google.common.collect.Multimap; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.ArrayList; import java.util.Collection; import java.util.Collections;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
return result; } @Override public Collection<ResolutionScope> buildResolutionScopes(InternalScopeManager internalScopeManager) { Collection<DependencyScope> allDependencyScopes = internalScopeManager.getDependencyScopeUniverse(); Collection<DependencyScope> nonTransitiveDependencyScopes =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0)