- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testTypeIsCorrect (0.1 seconds)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} } public void testRawTypeIsCorrect() { TypeToken<List<String>> token = new TypeToken<List<String>>() {}; assertEquals(List.class, token.getRawType()); } public void testTypeIsCorrect() { TypeToken<List<String>> token = new TypeToken<List<String>>() {}; assertEquals(StringList.class.getGenericInterfaces()[0], token.getType()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} } public void testRawTypeIsCorrect() { TypeToken<List<String>> token = new TypeToken<List<String>>() {}; assertEquals(List.class, token.getRawType()); } public void testTypeIsCorrect() { TypeToken<List<String>> token = new TypeToken<List<String>>() {}; assertEquals(StringList.class.getGenericInterfaces()[0], token.getType()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0)