- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for typeParameters (0.5 sec)
-
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
// Verify the class is generic final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters(); assertEquals("Should have one type parameter", 1, typeParameters.length); assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName()); } public void test_packageStructure() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
final Map<TypeVariable<?>, Type> map = CollectionsUtil.newLinkedHashMap(); final TypeVariable<?>[] typeParameters = clazz.getTypeParameters(); for (final TypeVariable<?> typeParameter : typeParameters) { map.put(typeParameter, getActualClass(typeParameter.getBounds()[0], map)); } final Class<?> superClass = clazz.getSuperclass();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0) -
doc/go_spec.html
<h4 id="Alias_declarations">Alias declarations</h4> <p> An alias declaration binds an identifier to the given type [<a href="#Go_1.9">Go 1.9</a>]. </p> <pre class="ebnf"> AliasDecl = identifier [ TypeParameters ] "=" Type . </pre> <p> Within the <a href="#Declarations_and_scope">scope</a> of the identifier, it serves as an <i>alias</i> for the given type. </p> <pre> type (
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K 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 Sep 05 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/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0)