Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWhere_recursiveMapping (0.16 sec)

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

        TypeResolver resolver = new TypeResolver().where(t, String.class);
        assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class));
      }
    
      public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() {
        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        TypeResolver resolver = new TypeResolver().where(t, String.class);
        assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class));
      }
    
      public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() {
        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top