- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TypeParameter (0.04 sec)
-
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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
} } private static final class TypeParameterSignature { final String name; final List<Type> bounds; TypeParameterSignature(TypeVariable<?> typeParameter) { name = typeParameter.getName(); bounds = asList(typeParameter.getBounds()); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof TypeParameterSignature) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
} } private static final class TypeParameterSignature { final String name; final List<Type> bounds; TypeParameterSignature(TypeVariable<?> typeParameter) { name = typeParameter.getName(); bounds = asList(typeParameter.getBounds()); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof TypeParameterSignature) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
final TypeVariable<?>[] typeParameters = clazz.getTypeParameters(); for (final TypeVariable<?> typeParameter : typeParameters) { map.put(typeParameter, getActualClass(typeParameter.getBounds()[0], map)); } final Class<?> superClass = clazz.getSuperclass(); final Type superClassType = clazz.getGenericSuperclass();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
return new TypeToken<Map<K, V>>() {}.where(new TypeParameter<K>() {}, keyType) .where(new TypeParameter<V>() {}, valueType); } private static <T> TypeToken<T[]> arrayOf(Class<T> componentType) { return new TypeToken<T[]>() {}.where(new TypeParameter<T>() {}, componentType); } public <T> void testNulls() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0)