Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testBuilderPutWithDuplicates (0.23 sec)

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

        assertEquals(Arrays.asList(1, 2, 3, 1, 6, 7), multimap.get("foo"));
        assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
        assertEquals(8, multimap.size());
      }
    
      public void testBuilderPutWithDuplicates() {
        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.putAll("foo", 1, 2, 3);
        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
    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.putAll("foo", 1, 6, 7);
        ImmutableSetMultimap<String, Integer> multimap = builder.build();
        assertEquals(7, multimap.size());
      }
    
      public void testBuilderPutWithDuplicates() {
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        builder.putAll("foo", 1, 2, 3);
        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
    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, 6, 7), multimap.get("foo"));
        assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
        assertEquals(8, multimap.size());
      }
    
      public void testBuilderPutWithDuplicates() {
        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.putAll("foo", 1, 2, 3);
        builder.putAll("bar", 4, 5);
        builder.put("foo", 1);
    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