- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for SetMultimap (0.17 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java
public class SetMultimapEqualsTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { @CollectionSize.Require(SEVERAL) public void testOrderingDoesntAffectEqualsComparisons() { SetMultimap<K, V> multimap1 = getSubjectGenerator() .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v4())); SetMultimap<K, V> multimap2 = getSubjectGenerator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
extends TestFilteredMultimapGenerator<SetMultimap<String, Integer>> implements TestSetMultimapGenerator<String, Integer> { abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); @Override public SetMultimap<String, Integer> create(Object... elements) { SetMultimap<String, Integer> multimap = LinkedHashMultimap.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { return new WrappedSet(key, (Set<V>) collection); } // Following Javadoc copied from SetMultimap. /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { return new WrappedSet(key, (Set<V>) collection); } // Following Javadoc copied from SetMultimap. /** * {@inheritDoc} * * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface. */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java
.testForwarding( SetMultimap.class, new Function<SetMultimap, SetMultimap<?, ?>>() { @Override public SetMultimap<?, ?> apply(SetMultimap delegate) { return wrap((SetMultimap<?, ?>) delegate); } }); } public void testEquals() { SetMultimap<Integer, String> map1 = ImmutableSetMultimap.of(1, "one");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code SetMultimap} * implementation. * * @author Louis Wasserman */ @GwtIncompatible public class SetMultimapTestSuiteBuilder<K, V> extends MultimapTestSuiteBuilder<K, V, SetMultimap<K, V>> { public static <K, V> SetMultimapTestSuiteBuilder<K, V> using( TestSetMultimapGenerator<K, V> generator) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code SetMultimap} * implementation. * * @author Louis Wasserman */ @GwtIncompatible public class SetMultimapTestSuiteBuilder<K, V> extends MultimapTestSuiteBuilder<K, V, SetMultimap<K, V>> { public static <K, V> SetMultimapTestSuiteBuilder<K, V> using( TestSetMultimapGenerator<K, V> generator) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
extends TestFilteredMultimapGenerator<SetMultimap<String, Integer>> implements TestSetMultimapGenerator<String, Integer> { abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); @Override public SetMultimap<String, Integer> create(Object... elements) { SetMultimap<String, Integer> multimap = LinkedHashMultimap.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
} public void testEmptyMultimapsEqual() { Multimap<String, Integer> setMultimap = HashMultimap.create(); Multimap<String, Integer> listMultimap = ArrayListMultimap.create(); assertTrue(setMultimap.equals(listMultimap)); assertTrue(listMultimap.equals(setMultimap)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
} public void testEmptyMultimapsEqual() { Multimap<String, Integer> setMultimap = HashMultimap.create(); Multimap<String, Integer> listMultimap = ArrayListMultimap.create(); assertTrue(setMultimap.equals(listMultimap)); assertTrue(listMultimap.equals(setMultimap)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0)