Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutInstance_withTypeVariable (0.18 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      }
    
      public void testGetInstance_withTypeVariable() {
        assertThrows(
            IllegalArgumentException.class, () -> map.getInstance(this.<Number>anyIterableType()));
      }
    
      public void testPutInstance_withTypeVariable() {
        assertThrows(
            IllegalArgumentException.class,
            () -> map.putInstance(this.<Integer>anyIterableType(), ImmutableList.of(1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top