- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,740 for collection (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testEntrySetEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = newHashSet(); expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3()))); expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0()))); new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java
import java.util.Collection; public final class Collections2FilterArrayListTest extends AbstractFilteredCollectionTest<Collection<Integer>> { @Override Collection<Integer> createUnfiltered(Iterable<Integer> contents) { return Lists.newArrayList(contents); } @Override Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.2K bytes - Viewed (0) -
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 - 12.1K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
@J2ktIncompatible static class SerializedForm implements Serializable { final ImmutableCollection<?> collection; SerializedForm(ImmutableCollection<?> collection) { this.collection = collection; } Object readResolve() { return collection.asList(); } private static final long serialVersionUID = 0; } @GwtIncompatible // serialization
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 2.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
public boolean containsAll(Collection<?> c) { return map.entrySet().containsAll(c); } @Override public boolean removeAll(Collection<?> c) { return map.entrySet().removeAll(c); } @Override public boolean retainAll(Collection<?> c) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 11.5K 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)