Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for SetMultimap (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top