Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testBuilderPutAllMultimapWithDuplicates (0.24 sec)

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

        assertEquals(Arrays.asList(1, 2, 3, 1), multimap.get("foo"));
        assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
        assertEquals(6, multimap.size());
      }
    
      public void testBuilderPutAllMultimapWithDuplicates() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 1);
        toPut.put("bar", 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
        ImmutableSetMultimap<String, Integer> multimap = builder.build();
        assertEquals(5, multimap.size());
      }
    
      public void testBuilderPutAllMultimapWithDuplicates() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 1);
        toPut.put("bar", 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertEquals(Arrays.asList(1, 2, 3, 1), multimap.get("foo"));
        assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
        assertEquals(6, multimap.size());
      }
    
      public void testBuilderPutAllMultimapWithDuplicates() {
        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 1);
        toPut.put("bar", 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top