- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TypeParameter (0.27 seconds)
-
android/guava/src/com/google/common/reflect/TypeParameter.java
* return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * } * * @author Ben Yu * @since 12.0 */ /* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {}); } public <A, B> void testEquals() throws Exception { Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); new EqualsTester() .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {}) .addEqualityGroup(new TypeParameter<B>() {}) .testEquals(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java
assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {}); } public <A, B> void testEquals() throws Exception { Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); new EqualsTester() .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {}) .addEqualityGroup(new TypeParameter<B>() {}) .testEquals(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0)