Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testParameterizedType (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        assertThat(map.getInstance(int.class)).isNull();
        assertThat(map.getInstance(Integer.class)).isNull();
        assertEquals(2, map.size());
      }
    
      public void testParameterizedType() {
        TypeToken<ImmutableList<Integer>> type = new TypeToken<ImmutableList<Integer>>() {};
        map.putInstance(type, ImmutableList.of(1));
        assertEquals(1, map.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top