- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testWhere_indirectMapping (0.15 sec)
-
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
} public void testWhere_typeVariableMapping() { Type t = aTypeVariable(); assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t)); } public <T> void testWhere_indirectMapping() { Type t1 = new TypeCapture<T>() {}.capture(); Type t2 = aTypeVariable(); assertEquals( String.class, new TypeResolver().where(t1, t2).where(t2, String.class).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) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
} public void testWhere_typeVariableMapping() { Type t = aTypeVariable(); assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t)); } public <T> void testWhere_indirectMapping() { Type t1 = new TypeCapture<T>() {}.capture(); Type t2 = aTypeVariable(); assertEquals( String.class, new TypeResolver().where(t1, t2).where(t2, String.class).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)