- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,314 for collectionOf (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
} @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testEquals_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertTrue( "A Set should equal any other Set containing the same elements,"
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
* under the License. */ package org.apache.maven.cli.internal; import javax.inject.Inject; import javax.inject.Named; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.NoSuchElementException; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import org.apache.maven.RepositoryUtils;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
fun queuedCalls(): List<Call> = this.withLock { return Collections.unmodifiableList(readyAsyncCalls.map { it.call }) } /** Returns a snapshot of the calls currently being executed. */ fun runningCalls(): List<Call> = this.withLock { return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call }) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jun 20 14:10:53 UTC 2024 - 9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.internal; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicReference; import org.apache.maven.api.model.Dependency;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.5K bytes - Viewed (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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 4.1K bytes - Viewed (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}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.2K bytes - Viewed (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() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.8K bytes - Viewed (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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.aether; import java.util.Collections; import java.util.List; import java.util.Map; import org.apache.maven.RepositoryUtils; import org.apache.maven.api.di.Named; import org.apache.maven.api.di.Singleton;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
assertTrue("An Object should be equal to itself.", collection.equals(collection)); } public void testEquals_null() { // noinspection ObjectEqualsNull assertFalse("An object should not be equal to null.", collection.equals(null)); } public void testEquals_notACollection() { // noinspection EqualsBetweenInconvertibleTypes assertFalse( "A Collection should never equal an object that is not a Collection.",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.7K bytes - Viewed (0)