- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,313 for Collection (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java
import com.google.common.collect.testing.testers.CollectionToStringTester; import java.util.Arrays; import java.util.Collection; import java.util.List; /** * Abstract superclass of all test-suite builders for collection interfaces. * * @author George van den Driessche */ @GwtIncompatible public abstract class AbstractCollectionTestSuiteBuilder<
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
new ForwardingWrapperTester() .testForwarding( Collection.class, new Function<Collection, Collection>() { @Override public Collection apply(Collection delegate) { return wrap(delegate); } }); } private static <T> Collection<T> wrap(final Collection<T> delegate) { return new ForwardingCollection<T>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
* limitations under the License. */ package com.google.common.math; import com.google.common.collect.ImmutableMap; import java.math.RoundingMode; import java.util.Arrays; import java.util.Collection; import java.util.Map; /** * Enumerates several algorithms providing equivalent functionality to {@link Quantiles}, for use in
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
import javax.inject.Named; import javax.inject.Singleton; import java.io.FileNotFoundException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.artifact.Artifact; import org.eclipse.aether.impl.ArtifactResolver;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
suite.addTest(testsForVector()); return suite; } protected Collection<Method> suppressForEmptyList() { return emptySet(); } protected Collection<Method> suppressForSingletonList() { return emptySet(); } protected Collection<Method> suppressForArraysAsList() { return emptySet(); } protected Collection<Method> suppressForArrayList() { return emptySet(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> { /** A collection of elements to retain, along with a description for use in failure messages. */ private class Target { private final Collection<E> toRetain; private final String description; private Target(Collection<E> toRetain, String description) { this.toRetain = toRetain; this.description = description; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.nio.file.Path; import java.util.Collection; import java.util.List; import java.util.Map; import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.Session; import org.apache.maven.api.annotations.Experimental;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 09 11:07:31 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
resetContainer(); int size = getNumElements(); Collection<V> collection = multimap().asMap().get(key); assertNotNull(collection); Collection<V> expectedCollection = copyToList(collection); multimap().put(key, v3()); expectedCollection.add(v3()); assertEqualIgnoringOrder(expectedCollection, collection); assertEquals(size + 1, multimap().size()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
resetContainer(); int size = getNumElements(); Collection<V> collection = multimap().asMap().get(key); assertNotNull(collection); Collection<V> expectedCollection = copyToList(collection); multimap().put(key, v3()); expectedCollection.add(v3()); assertEqualIgnoringOrder(expectedCollection, collection); assertEquals(size + 1, multimap().size()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultimap.java
for (Collection<V> collection : asMap().values()) { if (collection.contains(value)) { return true; } } return false; } @Override public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) { Collection<V> collection = asMap().get(key); return collection != null && collection.contains(value); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 6.6K bytes - Viewed (0)