Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCreateFromHashMultimap (0.17 sec)

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

        assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(15, -2));
    
        assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(-15, 2));
      }
    
      public void testCreateFromHashMultimap() {
        Multimap<String, Integer> original = HashMultimap.create();
        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
        assertEquals(3, multimap.expectedValuesPerKey);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(15, -2));
    
        assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(-15, 2));
      }
    
      public void testCreateFromHashMultimap() {
        Multimap<String, Integer> original = HashMultimap.create();
        ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original);
        assertEquals(3, multimap.expectedValuesPerKey);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top