Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createMultimap (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        return multimap;
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return createMultimap().asMap().subMap("e", "p");
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        TreeMultimap<String, Integer> multimap = createMultimap();
        multimap.put("f", 1);
        multimap.put("f", 2);
        multimap.put("g", 3);
        multimap.put("h", 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      }
    
      private Multimap<String, Integer> createMultimap() {
        return ImmutableListMultimap.<String, Integer>builder()
            .put("foo", 1)
            .put("bar", 2)
            .put("foo", 3)
            .build();
      }
    
      public void testMultimapReads() {
        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      }
    
      private Multimap<String, Integer> createMultimap() {
        return ImmutableListMultimap.<String, Integer>builder()
            .put("foo", 1)
            .put("bar", 2)
            .put("foo", 3)
            .build();
      }
    
      public void testMultimapReads() {
        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testMultimapWrites() {
        Multimap<String, Integer> multimap = createMultimap();
        UnmodifiableCollectionTests.assertMultimapIsUnmodifiable(multimap, "bar", 2);
      }
    
      public void testMultimapEquals() {
        Multimap<String, Integer> multimap = createMultimap();
        Multimap<String, Integer> hashMultimap = HashMultimap.create();
        hashMultimap.putAll("foo", Arrays.asList(1, 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          Multimap<String, Integer> multimap = createMultimap();
          for (Object element : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) element;
            multimap.put(entry.getKey(), entry.getValue());
          }
          return multimap.entries();
        }
    
        abstract Multimap<String, Integer> createMultimap();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          Multimap<String, Integer> multimap = createMultimap();
          for (Object element : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) element;
            multimap.put(entry.getKey(), entry.getValue());
          }
          return multimap.entries();
        }
    
        abstract Multimap<String, Integer> createMultimap();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top