Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWhere_typeVariableSelfMapping (0.18 sec)

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

        Type t2 = aTypeVariable();
        assertEquals(
            String.class, new TypeResolver().where(t1, t2).where(t2, String.class).resolveType(t1));
      }
    
      public void testWhere_typeVariableSelfMapping() {
        TypeResolver resolver = new TypeResolver();
        Type t = aTypeVariable();
        assertEquals(t, resolver.where(t, t).resolveType(t));
      }
    
      public <T> void testWhere_parameterizedSelfMapping() {
    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

        Type t2 = aTypeVariable();
        assertEquals(
            String.class, new TypeResolver().where(t1, t2).where(t2, String.class).resolveType(t1));
      }
    
      public void testWhere_typeVariableSelfMapping() {
        TypeResolver resolver = new TypeResolver();
        Type t = aTypeVariable();
        assertEquals(t, resolver.where(t, t).resolveType(t));
      }
    
      public <T> void testWhere_parameterizedSelfMapping() {
    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