Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreateFromIllegalSizes (0.15 sec)

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

        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
      }
    
      public void testCreateFromIllegalSizes() {
        assertThrows(IllegalArgumentException.class, () -> LinkedHashMultimap.create(-20, 15));
    
        assertThrows(IllegalArgumentException.class, () -> LinkedHashMultimap.create(20, -15));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top